summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-08 01:19:17 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-08 01:19:17 +0000
commitc093c1de2b505efc3a8d5cd332072493803fe913 (patch)
tree6613065b05d70f4184314aac758c3eda54a7e80a /clang/lib/Sema/SemaTemplate.cpp
parent48a805bc6cadb62c4e8e035e0a95a8dd80c24694 (diff)
downloadbcm5719-llvm-c093c1de2b505efc3a8d5cd332072493803fe913.tar.gz
bcm5719-llvm-c093c1de2b505efc3a8d5cd332072493803fe913.zip
Make sure to set the template specialization kind of an explicit
template instantiation of a member function of a class template. FIXME -= 2; llvm-svn: 83520
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplate.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp
index 339a084d7af..9d3efa60b06 100644
--- a/clang/lib/Sema/SemaTemplate.cpp
+++ b/clang/lib/Sema/SemaTemplate.cpp
@@ -3651,11 +3651,6 @@ Sema::DeclResult Sema::ActOnExplicitInstantiation(Scope *S,
InstantiateFunctionDefinition(D.getIdentifierLoc(), Specialization,
false);
- // FIXME: setTemplateSpecializationKind doesn't (yet) work for
- // non-templated member functions.
- if (!Specialization->getPrimaryTemplate())
- break;
-
Specialization->setTemplateSpecializationKind(TSK);
break;
}
OpenPOWER on IntegriCloud