diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-02-10 02:17:43 -0800 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-02-10 02:21:01 -0800 |
commit | 76f888d0a5324f4c6ae89cac61077cca4299b159 (patch) | |
tree | 9b475d3d9a7b26885fa54477e721b11961fdf31e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 3a4dc577c97218c4915f18108ed9945be8250289 (diff) | |
download | llvm-76f888d0a5324f4c6ae89cac61077cca4299b159.zip llvm-76f888d0a5324f4c6ae89cac61077cca4299b159.tar.gz llvm-76f888d0a5324f4c6ae89cac61077cca4299b159.tar.bz2 |
Fix handling of destructor names that name typedefs.
1) Fix a regression in llvmorg-11-init-2485-g0e3a4877840 that would
reject some cases where a class name is shadowed by a typedef-name
causing a destructor declaration to be rejected. Prefer a tag type over
a typedef in destructor name lookup.
2) Convert the "type in destructor declaration is a typedef" error to an
error-by-default ExtWarn to allow codebases to turn it off. GCC and MSVC
do not enforce this rule.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions