summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-27 18:19:34 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-27 18:19:34 +0000
commit9262f4775d456460aba130bdb03d685b9bc557de (patch)
treecb3a2cb6cfbd927668299a3110827c271eaf33b0 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent0a3fe0456fcba47f029363499c2ee7dfa4ea30cf (diff)
downloadbcm5719-llvm-9262f4775d456460aba130bdb03d685b9bc557de.tar.gz
bcm5719-llvm-9262f4775d456460aba130bdb03d685b9bc557de.zip
During template instantiation, set the naming class of
UnresolvedLookupExpr and UnresolvedMemberExpr by substituting the naming class we computed when building the expression in the template... ... which we didn't always do correctly. Teach UnresolvedMemberExpr::getNamingClass() all about the new representation of injected-class-names in templates, so that it can return a naming class that is the current instantiation. Also, when decomposing a template-id into its template name and its arguments, be sure to set the naming class on the LookupResult structure. Fixes PR6947 the right way. llvm-svn: 102448
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud