llvm-project/clang/lib/Sema
Reid Kleckner 89bd8d62f3 Reland r219810 "Fix late template parsing leak with incremental processing"
Original message:
Add a second late template parser callback meant to cleanup any
resources allocated by late template parsing.  Call it from the
Sema::ActOnEndOfTranslationUnit method after all pending template
instantiations have been completed.  Teach Parser::ParseTopLevelDecl to
install the cleanup callback when incremental processing is enabled so
that Parser::TemplateIds can be freed.

Patch by Brad King!

llvm-svn: 220400
2014-10-22 17:50:19 +00:00
..
AnalysisBasedWarnings.cpp Adds 'override' to overriding methods. NFC. 2014-10-01 16:56:40 +00:00
AttributeList.cpp Automate attribute argument count semantic checking when there are variadic or optional arguments present. With this, the only time you should have to manually check attribute argument counts is when HasCustomParsing is set to true, or when you have variadic arguments that aren't really variadic (like ownership_holds and friends). 2014-07-31 16:37:04 +00:00
CMakeLists.txt Split off CUDA-specific Sema parts to a new file 2014-09-03 15:27:03 +00:00
CodeCompleteConsumer.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
DeclSpec.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
DelayedDiagnostic.cpp Objective-C. Diagnose when property access is using declared 2014-06-16 17:25:41 +00:00
IdentifierResolver.cpp PR20769: Fix confusion when checking whether a prior default argument was in 2014-08-27 22:31:34 +00:00
JumpDiagnostics.cpp ms-inline-asm: Scope inline asm labels to functions 2014-09-22 02:21:54 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
Scope.cpp Revert r213437 2014-07-25 20:52:51 +00:00
ScopeInfo.cpp [C++11] Support for capturing of variable length arrays in lambda expression. 2014-08-28 04:28:19 +00:00
Sema.cpp Reland r219810 "Fix late template parsing leak with incremental processing" 2014-10-22 17:50:19 +00:00
SemaAccess.cpp Consolidate some note diagnostics 2014-05-28 12:20:14 +00:00
SemaAttr.cpp MS Compat: mark globals emitted in read-only sections const 2014-10-16 20:52:46 +00:00
SemaCUDA.cpp CUDA: mark the target of implicit intrinsics properly 2014-09-30 17:38:34 +00:00
SemaCXXScopeSpec.cpp -ms-extensions: Implement __super scope specifier (PR13236). 2014-09-26 00:28:20 +00:00
SemaCast.cpp PR20227: materialize a temporary when dynamic_casting a class prvalue to a 2014-07-08 17:25:14 +00:00
SemaChecking.cpp Improvements to -Wnull-conversion 2014-10-15 03:42:06 +00:00
SemaCodeComplete.cpp Avoid a crash after loading an #undef'd macro in code completion 2014-09-30 20:00:18 +00:00
SemaConsumer.cpp
SemaDecl.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
SemaDeclAttr.cpp Turned Sema::HandleDelayedAvailabilityCheck into a static function; NFC. 2014-10-15 15:37:51 +00:00
SemaDeclCXX.cpp Fix style issue from r220363. No functional change. 2014-10-22 05:21:59 +00:00
SemaDeclObjC.cpp Objective-C. Warn if user has made explicit call 2014-08-22 16:57:26 +00:00
SemaExceptionSpec.cpp Revert r219977, "Re-commit r217995 and follow-up patches (r217997, r218011, r218053). These were" 2014-10-17 12:48:37 +00:00
SemaExpr.cpp Switching to range-based for loops; NFC. 2014-10-16 17:53:07 +00:00
SemaExprCXX.cpp -ms-extensions: Implement __super scope specifier (PR13236). 2014-09-26 00:28:20 +00:00
SemaExprMember.cpp Hide the concept of diagnostic levels from lex, parse and sema 2014-06-15 23:30:39 +00:00
SemaExprObjC.cpp Objective-C. Under a special flag, -Wcstring-format-directive, 2014-09-11 19:13:23 +00:00
SemaFixItUtils.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaInit.cpp PR20844: If we fail to list-initialize a reference, map to the referenced type 2014-09-04 22:13:39 +00:00
SemaLambda.cpp [C++11] Support for capturing of variable length arrays in lambda expression. 2014-08-28 04:28:19 +00:00
SemaLookup.cpp Factor code into CXXRecordDecl::getTemplateInstantiationPattern() helper 2014-10-14 20:28:40 +00:00
SemaObjCProperty.cpp Objective-C [qoi]. When reporting that a property is not 2014-10-10 22:08:23 +00:00
SemaOpenMP.cpp [OPENMP] Codegen for 'private' clause in 'parallel' directive. 2014-10-21 03:16:40 +00:00
SemaOverload.cpp CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
SemaPseudoObject.cpp Objective-C. Prevents a crash generating AST for a 2014-09-15 21:19:39 +00:00
SemaStmt.cpp Sema: address post-commit review comment 2014-10-17 17:20:33 +00:00
SemaStmtAsm.cpp ms-inline-asm: Correctly mark MS inline ASM labels as used 2014-10-08 17:28:34 +00:00
SemaStmtAttr.cpp Allow constant expressions in pragma loop hints. 2014-10-12 20:46:07 +00:00
SemaTemplate.cpp PR21246: DebugInfo: Emit the appropriate type (cv qualifiers, reference-ness, etc) for non-type template parameters 2014-10-16 04:21:25 +00:00
SemaTemplateDeduction.cpp PR21246: DebugInfo: Emit the appropriate type (cv qualifiers, reference-ness, etc) for non-type template parameters 2014-10-16 04:21:25 +00:00
SemaTemplateInstantiate.cpp Revert r219977, "Re-commit r217995 and follow-up patches (r217997, r218011, r218053). These were" 2014-10-17 12:48:37 +00:00
SemaTemplateInstantiateDecl.cpp Don't forget to substitute into the qualifier when instantiating the definition 2014-10-17 20:37:29 +00:00
SemaTemplateVariadic.cpp Fix for PR20660, where unexpanded parameter pack in function parameter clause causes clang to crash. 2014-08-29 21:08:16 +00:00
SemaType.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
TreeTransform.h Revert r219977, "Re-commit r217995 and follow-up patches (r217997, r218011, r218053). These were" 2014-10-17 12:48:37 +00:00
TypeLocBuilder.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
TypeLocBuilder.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00