summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-01-16 02:34:36 +0000
committerEric Fiselier <eric@efcs.ca>2019-01-16 02:34:36 +0000
commit8e92050794669f93d29476c25006e469ca7392b8 (patch)
treeadae606280f0f90173b131341a6d6d95daa7ddd5 /lldb/packages/Python/lldbsuite/test/python_api
parentd88cbd57d3e539b7a80192e89fad9ee414608d48 (diff)
downloadbcm5719-llvm-8e92050794669f93d29476c25006e469ca7392b8.tar.gz
bcm5719-llvm-8e92050794669f93d29476c25006e469ca7392b8.zip
[SemaCXX] Unconfuse Clang when std::align_val_t is unscoped in C++03
When -faligned-allocation is specified in C++03 libc++ defines std::align_val_t as an unscoped enumeration type (because Clang didn't provide scoped enumerations as an extension until 8.0). Unfortunately Clang confuses the `align_val_t` overloads of delete with the sized deallocation overloads which aren't enabled. This caused Clang to call the aligned deallocation function as if it were the sized deallocation overload. For example: https://godbolt.org/z/xXJELh This patch fixes the confusion. llvm-svn: 351294
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud