summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-10-24 22:38:49 +0000
committerEric Fiselier <eric@efcs.ca>2018-10-24 22:38:49 +0000
commit5e707cb274911a76e129c1faa71dd95d2b580101 (patch)
tree404a20e7ef2b7a135994b03c4e261edc35f47ccc /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent43bc46207a909c84651ac77f72fbc478d525594c (diff)
downloadbcm5719-llvm-5e707cb274911a76e129c1faa71dd95d2b580101.tar.gz
bcm5719-llvm-5e707cb274911a76e129c1faa71dd95d2b580101.zip
[SemaCXX] Unconfuse Clang when std::align_val_t is unscoped in C++03
Summary: 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. Reviewers: rsmith, EricWF Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D53508 llvm-svn: 345211
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud