diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-04-25 00:35:01 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-04-25 00:35:01 +0000 |
commit | d8b01111a0ec33a1a37f264940e3b6e99945ca8f (patch) | |
tree | de0f0c773b4970638c61a49bf577ca466c3f1e22 /lldb/packages/Python/lldbsuite/test/expression_command | |
parent | 1d6d98809c0f162acbfdaabe0c360e1215b06273 (diff) | |
download | bcm5719-llvm-d8b01111a0ec33a1a37f264940e3b6e99945ca8f.tar.gz bcm5719-llvm-d8b01111a0ec33a1a37f264940e3b6e99945ca8f.zip |
Use modern type trait implementations when available.
Teach libcxx to stop using various deprecated __has_* type traits, in favor of
the ("modern", C++11 era) __is_* type traits.
This is mostly just a simplification, but fixes at least one bug: _Atomic T
should be considered trivially-destructible, but is not considered to be POD by
Clang, and __has_trivial_destructor is specified in the GCC documentation as
returning false for non-POD non-class types.
Differential Revision: https://reviews.llvm.org/D48292
llvm-svn: 359159
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions