r183636 - test
Larisse Voufo
lvoufo at google.com
Sun Jun 9 23:28:38 PDT 2013
Author: lvoufo
Date: Mon Jun 10 01:28:37 2013
New Revision: 183636
URL: http://llvm.org/viewvc/llvm-project?rev=183636&view=rev
Log:
test
Modified:
cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp?rev=183636&r1=183635&r2=183636&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp Mon Jun 10 01:28:37 2013
@@ -2842,6 +2842,7 @@ void Sema::InstantiateFunctionDefinition
if (Function->isInvalidDecl() || Function->isDefined())
return;
+
// Never instantiate an explicit specialization except if it is a class scope
// explicit specialization.
if (Function->getTemplateSpecializationKind() == TSK_ExplicitSpecialization &&
More information about the cfe-commits
mailing list