llvm-project/clang/lib/AST
Ted Kremenek f5bcc6a285 Allocate the contents of TemplateArgumentList using ASTContext's allocator. This fixes
a massive memory leak when using a BumpPtrAllocator in ASTContext.

Added a FIXME, as the Destroy method for TemplateArgumentList isn't getting called.
This means we will instead leak when using the MallocAllocator.

llvm-svn: 104633
2010-05-25 20:43:29 +00:00
..
APValue.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
ASTConsumer.cpp Push DeclGroup much farther throughout the compiler. Now the various 2009-03-29 16:50:03 +00:00
ASTContext.cpp A type- or value-dependent expression cannot use bitfield 2010-05-24 20:13:53 +00:00
ASTDiagnostic.cpp Teach the AKA calculation to look at sugar on the pointee type for pointers and 2010-05-13 11:37:24 +00:00
ASTImporter.cpp Renamed misleading getSourceRange -> getLocalSourceRange and getFullSourceRange -> getSourceRange for TypeLoc. 2010-05-20 10:00:11 +00:00
AttrImpl.cpp Add clang support for IBOutletCollection. 2010-05-19 17:38:06 +00:00
CMakeLists.txt Unbreak CMake build. 2010-05-05 05:41:05 +00:00
CXXInheritance.cpp Use CanQualType to enforce the use of a canonical type argument to 2010-05-21 20:29:55 +00:00
Decl.cpp Introduce a method to get from an anonymous struct or union record declaration 2010-05-21 01:17:40 +00:00
DeclBase.cpp Fixes for compilation with Microsoft Visual Studio 2010, from Steven Watanabe! 2010-05-11 06:18:17 +00:00
DeclCXX.cpp Renamed misleading getSourceRange -> getLocalSourceRange and getFullSourceRange -> getSourceRange for TypeLoc. 2010-05-20 10:00:11 +00:00
DeclFriend.cpp Implement basic support for friend types and functions in non-dependent 2010-03-12 01:19:31 +00:00
DeclGroup.cpp Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>. 2009-12-23 08:56:00 +00:00
DeclObjC.cpp Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream. 2010-04-17 09:33:03 +00:00
DeclPrinter.cpp And finally, revert the accidental check-in part of the previous reversion. I'm on a roll. 2010-05-07 09:11:09 +00:00
DeclTemplate.cpp Allocate the contents of TemplateArgumentList using ASTContext's allocator. This fixes 2010-05-25 20:43:29 +00:00
DeclarationName.cpp Allocate most of DeclarationNamesTable using ASTContext's allcocator. The only things that 2010-05-10 20:56:10 +00:00
Expr.cpp Substantially alter the design of the Objective C type AST by introducing 2010-05-15 11:32:37 +00:00
ExprCXX.cpp Move OverloadExpr over to a ASTContext-allocated pointer for its 2010-05-23 19:36:40 +00:00
ExprConstant.cpp When constant folding reference variables with an initializer to the 2010-05-16 09:32:51 +00:00
FullExpr.cpp More work on the FullExpr class. 2009-12-16 06:10:22 +00:00
InheritViz.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
NestedNameSpecifier.cpp Merged Elaborated and QualifiedName types. 2010-05-11 21:36:43 +00:00
ParentMap.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
RecordLayout.cpp Add a SizeOfLargestEmptySubobject member to ASTRecordLayout. For C++ classes this will hold the largest empty subobject or 0 if the class doesn't have any empty subobjects. 2010-05-08 22:35:05 +00:00
RecordLayoutBuilder.cpp When recording empty subobjects we should always look at the primary virtual base. 2010-05-23 18:14:24 +00:00
RecordLayoutBuilder.h Add an UpdateVBases parameter to UpdateEmptyClassOffsets. Not used just yet. 2010-05-10 15:28:59 +00:00
Stmt.cpp Switch over the tablegen to use much prettier range technology 2010-05-18 06:22:21 +00:00
StmtDumper.cpp make -ast-dump print something like this for declstmts: 2010-05-25 17:56:43 +00:00
StmtIterator.cpp Add StmtIterator support for iterating over both the condition 2009-12-23 23:38:34 +00:00
StmtPrinter.cpp Reapplying patch to change StmtNodes.def to StmtNodes.td, this time 2010-05-05 15:24:00 +00:00
StmtProfile.cpp Fill in some silly defaults to silence a GCC warning 2010-05-19 18:41:43 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp Renamed misleading getSourceRange -> getLocalSourceRange and getFullSourceRange -> getSourceRange for TypeLoc. 2010-05-20 10:00:11 +00:00
TemplateName.cpp Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream. 2010-04-17 09:33:03 +00:00
Type.cpp It turns out that people love using VLAs in templates, too. Weaken our 2010-05-23 19:57:01 +00:00
TypeLoc.cpp Improved TypeLoc::getSourceRange(). 2010-05-21 21:12:12 +00:00
TypePrinter.cpp Add support for Microsoft's __thiscall, from Steven Watanabe! 2010-05-18 16:57:00 +00:00