llvm-project/clang/lib/Parse
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
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile
ParseAST.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseCXXInlineMethods.cpp PR20760: Don't assert (and produce better diagnostics) if a default initializer 2014-08-27 03:23:12 +00:00
ParseDecl.cpp Remove unused StmtVector& parameters from declaration parsing functions. 2014-10-22 14:27:08 +00:00
ParseDeclCXX.cpp -ms-extensions: Implement __super scope specifier (PR13236). 2014-09-26 00:28:20 +00:00
ParseExpr.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
ParseExprCXX.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
ParseInit.cpp Refactoring. Remove release and take methods from ActionResult. Rename takeAs to getAs. 2014-05-29 10:55:11 +00:00
ParseObjc.cpp Parse: Replace polymorphic functor objects with lambdas and llvm::function_ref. 2014-09-03 11:06:10 +00:00
ParseOpenMP.cpp [OPENMP] 'omp teams' directive basic support. 2014-10-09 04:18:56 +00:00
ParsePragma.cpp MS Compat: mark globals emitted in read-only sections const 2014-10-16 20:52:46 +00:00
ParseStmt.cpp Remove unused StmtVector& parameters from declaration parsing functions. 2014-10-22 14:27:08 +00:00
ParseStmtAsm.cpp Initialize MCObjectFileInfo when parsing ms-style asm. 2014-10-03 21:48:23 +00:00
ParseTemplate.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
ParseTentative.cpp Be smarter when parsing variable declarations with unknown types. 2014-10-14 21:57:21 +00:00
Parser.cpp Reland r219810 "Fix late template parsing leak with incremental processing" 2014-10-22 17:50:19 +00:00
RAIIObjectsForParser.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00