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 | d6537015745128064dc12fcc06af65372dfd5da9 (patch) | |
tree | f7b54180d1534faf925bf117d1f9512ba696df55 /lib/CodeGen/BackendUtil.cpp | |
parent | ebbcd1de4f6b0a88b5c9108529b21306968bd79f (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions