]> granicus.if.org Git - clang/commit
Refactor ActOnDeclarationNameExpr into a "parsing action" part and a
authorDouglas Gregor <dgregor@apple.com>
Tue, 30 Jun 2009 15:47:41 +0000 (15:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 30 Jun 2009 15:47:41 +0000 (15:47 +0000)
commit751f9a416a94fe723e6c34fc15fff2ccdf1c4be9
tree7a1f048f5351a034932de0b7ec8a24559a6f3b28
parentce2f9bd2bc7dd4e070d46114b6a921127bd1ca86
Refactor ActOnDeclarationNameExpr into a "parsing action" part and a
"semantic analysis" part. Use the "semantic analysis" part when
performing template instantiation on a DeclRefExpr, rather than an ad
hoc list of rules to construct DeclRefExprs from the instantiation.

A test case for this change will come in with a large commit, which
illustrates what I was actually trying to work on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74528 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/SemaTemplateInstantiateExpr.cpp