aboutsummaryrefslogtreecommitdiff
path: root/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
commite9374d5e2c0915bd883dfa988db2451b844390d8 (patch)
treed5a550f290f01a0aec5ae8f8889e038a027b15f1 /lib/Sema/SemaTemplate.cpp
parent44e368b6a85c42d681148ccd5e0052418ff9751e (diff)
Make sure to set the template specialization kind of an explicit
template instantiation of a member function of a class template. FIXME -= 2; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r--lib/Sema/SemaTemplate.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp
index 339a084d7a..9d3efa60b0 100644
--- a/lib/Sema/SemaTemplate.cpp
+++ b/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;
}