diff options
author | James Y Knight <jyknight@google.com> | 2020-12-07 10:26:49 -0500 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2021-01-27 16:46:51 -0500 |
commit | 9c7aeaebb3ac1b94200b59b111742cb6b8f090c2 (patch) | |
tree | c38807e4d1f52ecd8aea534ae82bd17f588db73f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 58aa049b9b80e342e3f6769f0834dabf41476bef (diff) | |
download | llvm-9c7aeaebb3ac1b94200b59b111742cb6b8f090c2.zip llvm-9c7aeaebb3ac1b94200b59b111742cb6b8f090c2.tar.gz llvm-9c7aeaebb3ac1b94200b59b111742cb6b8f090c2.tar.bz2 |
Itanium Mangling: Mangle `__alignof__` differently than `alignof`.
The two operations have acted differently since Clang 8, but were
unfortunately mangled the same. The new mangling uses new "vendor
extended expression" syntax proposed in
https://github.com/itanium-cxx-abi/cxx-abi/issues/112
GCC had the same mangling problem, https://gcc.gnu.org/PR88115, and
will hopefully be switching to the same mangling as implemented here.
Additionally, fix the mangling of `__uuidof` to use the new extension
syntax, instead of its previous nonstandard special-case.
Adjusts the demangler accordingly.
Differential Revision: https://reviews.llvm.org/D93922
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions