aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaTemplateInstantiateDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-30 15:47:41 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-30 15:47:41 +0000
commit751f9a416a94fe723e6c34fc15fff2ccdf1c4be9 (patch)
tree7a1f048f5351a034932de0b7ec8a24559a6f3b28 /lib/Sema/SemaTemplateInstantiateDecl.cpp
parentce2f9bd2bc7dd4e070d46114b6a921127bd1ca86 (diff)
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
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiateDecl.cpp')
-rw-r--r--lib/Sema/SemaTemplateInstantiateDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplateInstantiateDecl.cpp b/lib/Sema/SemaTemplateInstantiateDecl.cpp
index 97a160e715..7053bba8ed 100644
--- a/lib/Sema/SemaTemplateInstantiateDecl.cpp
+++ b/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -865,6 +865,6 @@ void Sema::PerformPendingImplicitInstantiations() {
if (!Function->getBody())
InstantiateFunctionDefinition(/*FIXME:*/Inst.second, Function);
- // FIXME: instantiation static member variables
+ // FIXME: instantiate static member variables
}
}