diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-01 02:02:28 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-01 02:02:28 +0000 |
commit | acb21581d7d0fa97e51c7b3f1a23525bf1cbbee7 (patch) | |
tree | 65276004605bef83104af746ed00e5927b077be2 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 65f8cf945dfacdd80a664022cde5cc4c15537fcb (diff) | |
download | bcm5719-llvm-acb21581d7d0fa97e51c7b3f1a23525bf1cbbee7.tar.gz bcm5719-llvm-acb21581d7d0fa97e51c7b3f1a23525bf1cbbee7.zip |
Improve diagnostics when an invalid hash is used in an unordered container.
This patch adds a static assertion that the specified hash meets
the requirements of an enabled hash, and it ensures that the static
assertion is evaluated before __compressed_pair is instantiated.
That way the static assertion diagnostic is emitted first.
llvm-svn: 296565
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions