diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-11-14 00:37:55 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-11-14 00:37:55 +0000 |
commit | 6403e937d65dbd3c48ff52f1df6eb579f76d53e6 (patch) | |
tree | 8b5742ce3adb89dce49f19144294716dcccec416 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 283bc2ed28f423c29ab57a2b491d2ebdb53a4b12 (diff) | |
download | llvm-6403e937d65dbd3c48ff52f1df6eb579f76d53e6.zip llvm-6403e937d65dbd3c48ff52f1df6eb579f76d53e6.tar.gz llvm-6403e937d65dbd3c48ff52f1df6eb579f76d53e6.tar.bz2 |
PR21565 Add an egregious hack to support broken libstdc++ headers that declare
a member named 'swap' and then expect unqualified lookup for the name 'swap' in
its exception specification to find anything else.
Without delay-parsed exception specifications, this was ill-formed (NDR) by
[basic.scope.class]p1, rule 2. With delay-parsed exception specifications, the
call to 'swap' unambiguously finds the function being declared, which then
fails because the arguments don't work for that function.
llvm-svn: 221955
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions