diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-15 00:31:27 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-15 00:31:27 +0000 |
commit | af41696bc45c3a4e5e5a4e62f177e87b184eb5e7 (patch) | |
tree | bc8e1cca26b3c7221c68dca0bf03174ac42cf0ee /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 37feb2d6a65f84baa4c299871636a49a8e3a8eb9 (diff) | |
download | llvm-af41696bc45c3a4e5e5a4e62f177e87b184eb5e7.zip llvm-af41696bc45c3a4e5e5a4e62f177e87b184eb5e7.tar.gz llvm-af41696bc45c3a4e5e5a4e62f177e87b184eb5e7.tar.bz2 |
Per [basic.lookup.classref]p3, in an expression of the form p->~type-name, the
type-name is looked up in the context of the complete postfix-expression. Don't
forget to pass the scope into this lookup when the type-name is a template-id;
it might name an alias template which can't be found within the class itself.
Bug spotted by Johannes Schaub on #llvm.
llvm-svn: 168011
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions