diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-08-10 22:45:26 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-08-10 22:45:26 +0000 |
commit | 45b7b44867f75098c4235bda09fa088d0cb803f3 (patch) | |
tree | 206bf3d88372f96d14a10f5f28749896e745a49c /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | ee1f578d627cddc71c691ba53f469ed114159454 (diff) | |
download | llvm-45b7b44867f75098c4235bda09fa088d0cb803f3.zip llvm-45b7b44867f75098c4235bda09fa088d0cb803f3.tar.gz llvm-45b7b44867f75098c4235bda09fa088d0cb803f3.tar.bz2 |
Implement LWG 2148: Make non-enum default hash specialization well-formed
Summary:
This patch removes the static_assert for non-enum types in the primary hash template. Instead non-enum types create a hash<T> specialization that is not constructible nor callable.
See also:
* http://cplusplus.github.io/LWG/lwg-active.html#2543
* https://llvm.org/bugs/show_bug.cgi?id=28917
Reviewers: mclow.lists, EricWF
Subscribers: mehdi_amini, cfe-commits
Differential Revision: https://reviews.llvm.org/D23331
llvm-svn: 278300
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions