hanchenye-llvm-project/clang/lib/Sema
Chandler Carruth cfe41db403 Support explicit instantiation of function templates and members of class
templates when only the declaration is in scope. This requires deferring the
instantiation to be lazy, and ensuring the definition is required for that
translation unit. We re-use the existing pending instantiation queue,
previously only used to track implicit instantiations which were required to be
lazy. Fixes PR7979.

A subsequent change will rename *PendingImplicitInstantiations to
*PendingInstatiations for clarity given its broader role.

llvm-svn: 112037
2010-08-25 08:27:02 +00:00
..
Action.cpp Abstract out passing around types and kill off ActionBase. 2010-08-24 05:47:05 +00:00
AnalysisBasedWarnings.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
AttributeList.cpp Abstract out passing around types and kill off ActionBase. 2010-08-24 05:47:05 +00:00
CMakeLists.txt Another step in the process of making the parser depend on Sema: 2010-08-20 18:27:03 +00:00
CodeCompleteConsumer.cpp Teach Sema to live without CodeCompleteConsumer.h. 2010-08-25 06:19:51 +00:00
DeclSpec.cpp Abstract out passing around types and kill off ActionBase. 2010-08-24 05:47:05 +00:00
IdentifierResolver.cpp Struggle mightily against header inclusion in Sema.h. 2010-08-24 07:21:54 +00:00
JumpDiagnostics.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Sema.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
SemaAccess.cpp Revert r111609, which is failing its new test. 2010-08-20 03:26:10 +00:00
SemaAttr.cpp Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
SemaCXXCast.cpp OwningExprResult -> ExprResult. This patch brought to you by 2010-08-24 06:29:42 +00:00
SemaCXXScopeSpec.cpp Abstract out passing around types and kill off ActionBase. 2010-08-24 05:47:05 +00:00
SemaChecking.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
SemaCodeComplete.cpp Teach Sema to live without CodeCompleteConsumer.h. 2010-08-25 06:19:51 +00:00
SemaDecl.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
SemaDeclAttr.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
SemaDeclCXX.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
SemaDeclObjC.cpp Remove the DenseSet dependency from Sema.h. 2010-08-25 07:03:20 +00:00
SemaExceptionSpec.cpp Move Sema's headers into include/clang/Sema, renaming a few along the way. 2010-08-12 20:07:10 +00:00
SemaExpr.cpp Remove AnalysisBasedWarnings.h's dependency on Type.h 2010-08-25 05:56:39 +00:00
SemaExprCXX.cpp Move more stuff out of Sema.h. 2010-08-25 05:32:35 +00:00
SemaExprObjC.cpp More header elimination. The goal of all this is to allow Parser to 2010-08-24 08:50:51 +00:00
SemaInit.cpp Move some of SemaOverload's API to various places in Overload.h, and kill 2010-08-24 20:38:10 +00:00
SemaLookup.cpp Remove the DenseSet dependency from Sema.h. 2010-08-25 07:03:20 +00:00
SemaObjCProperty.cpp Remove the DenseSet dependency from Sema.h. 2010-08-25 07:03:20 +00:00
SemaOverload.cpp Move more stuff out of Sema.h. 2010-08-25 05:32:35 +00:00
SemaStmt.cpp More header elimination. The goal of all this is to allow Parser to 2010-08-24 08:50:51 +00:00
SemaTemplate.cpp Support explicit instantiation of function templates and members of class 2010-08-25 08:27:02 +00:00
SemaTemplateDeduction.cpp Move more stuff out of Sema.h. 2010-08-25 05:32:35 +00:00
SemaTemplateInstantiate.cpp Move more stuff out of Sema.h. 2010-08-25 05:32:35 +00:00
SemaTemplateInstantiateDecl.cpp Support explicit instantiation of function templates and members of class 2010-08-25 08:27:02 +00:00
SemaType.cpp Struggle mightily against header inclusion in Sema.h. 2010-08-24 07:21:54 +00:00
TargetAttributesSema.cpp Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Struggle mightily against header inclusion in Sema.h. 2010-08-24 07:21:54 +00:00