summaryrefslogtreecommitdiffstats
path: root/clang/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
commit3256d04d220127aedbb9e13116035e5c53d62360 (patch)
tree83a4951849581a3e3b7e74660e40b8b7336476f0 /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
parent16f652876f017b182bfb2a7cbe0f7aac42341a5f (diff)
downloadbcm5719-llvm-3256d04d220127aedbb9e13116035e5c53d62360.tar.gz
bcm5719-llvm-3256d04d220127aedbb9e13116035e5c53d62360.zip
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. llvm-svn: 74528
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplateInstantiateDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
index 97a160e7155..7053bba8ede 100644
--- a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+++ b/clang/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
}
}
OpenPOWER on IntegriCloud