llvm-project/clang/lib/AST
Manuel Klimek a732899cb4 Fix memory leak for APValues that do memory allocation.
This patch ensures that APValues are deallocated with the ASTContext by
registering a deallocation function for APValues to the ASTContext.

Original version of the patch by James Dennett.

llvm-svn: 183101
2013-06-03 13:51:33 +00:00
..
APValue.cpp Fix memory leak for APValues that do memory allocation. 2013-06-03 13:51:33 +00:00
ASTConsumer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ASTContext.cpp Fix memory leak for APValues that do memory allocation. 2013-06-03 13:51:33 +00:00
ASTDiagnostic.cpp Provide operator<< for stream output of DeclarationNames 2013-05-14 21:04:00 +00:00
ASTDumper.cpp Fix bitcode desynchronization when loading a PCH containing a class template 2013-05-23 01:49:11 +00:00
ASTImporter.cpp Use only explicit bool conversion operator 2013-05-15 07:37:26 +00:00
AttrImpl.cpp [ms-cxxabi] Give the MS inheritance attributes a base class 2013-03-26 18:30:28 +00:00
CMakeLists.txt OpenMP threadprivate directive parsing and semantic analysis 2013-03-22 06:34:35 +00:00
CXXABI.h [ms-cxxabi] Correctly compute the size of member pointers 2013-03-28 20:02:56 +00:00
CXXInheritance.cpp Fix Cast 2013-01-15 22:09:40 +00:00
Comment.cpp Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constructor from None 2013-05-05 00:41:58 +00:00
CommentBriefParser.cpp Some refactoring in my patch on document 2013-03-02 02:39:57 +00:00
CommentCommandTraits.cpp [doc parsing]: make single character command impostures 2013-05-09 17:18:52 +00:00
CommentLexer.cpp [doc parsing]: make single character command impostures 2013-05-09 17:18:52 +00:00
CommentParser.cpp Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constructor from None 2013-05-05 00:41:58 +00:00
CommentSema.cpp doc. parsing. HeaderDoc documentaton allows use of 2013-05-20 23:40:39 +00:00
Decl.cpp Fix memory leak for APValues that do memory allocation. 2013-06-03 13:51:33 +00:00
DeclBase.cpp Make all 'is in extern "C"' tests use the lexical context. 2013-05-05 20:15:21 +00:00
DeclCXX.cpp First pass of semantic analysis for init-captures: check the initializer, build 2013-05-16 06:20:58 +00:00
DeclFriend.cpp Added outer template parameter lists to friend type AST nodes. 2013-01-31 09:54:08 +00:00
DeclGroup.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
DeclObjC.cpp Fix potential infinite loop when iterating over redeclarations of an ObjMethodDecl, resulting from invalid code. 2013-05-30 18:53:21 +00:00
DeclOpenMP.cpp OpenMP threadprivate with qualified names. 2013-05-13 04:18:18 +00:00
DeclPrinter.cpp OpenMP threadprivate with qualified names. 2013-05-13 04:18:18 +00:00
DeclTemplate.cpp A little ArrayRef'ization. 2013-05-17 03:04:50 +00:00
DeclarationName.cpp Provide operator<< for stream output of DeclarationNames 2013-05-14 21:04:00 +00:00
DumpXML.cpp Revert r175912, "Add support for coldcc to clang" at John's request. 2013-02-23 00:06:18 +00:00
Expr.cpp Do not walk through member-accesses on bitfields when looking for the object 2013-06-03 07:13:35 +00:00
ExprCXX.cpp First pass of semantic analysis for init-captures: check the initializer, build 2013-05-16 06:20:58 +00:00
ExprClassification.cpp C++1y: Allow aggregates to have default initializers. 2013-04-20 22:23:05 +00:00
ExprConstant.cpp Refactor constant expression evaluation to associate the complete object of a 2013-06-03 05:03:02 +00:00
ExternalASTSource.cpp Simplify FindExternalVisibleDeclsByName by making it return a bool indicating 2013-02-07 03:30:24 +00:00
InheritViz.cpp Remove an unneeded const_cast 2013-01-14 00:25:25 +00:00
ItaniumCXXABI.cpp [ms-cxxabi] Correctly compute the size of member pointers 2013-03-28 20:02:56 +00:00
ItaniumMangle.cpp Cleanup handling of UniqueExternalLinkage. 2013-05-13 00:12:11 +00:00
LambdaMangleContext.cpp ArrayRef-ize ASTContext::getFunctionType and Sema::BuildFunctionType. 2013-03-08 21:51:21 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Mangle.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
MicrosoftCXXABI.cpp [ms-cxxabi] Implement member pointer emission and dereferencing 2013-04-11 18:13:19 +00:00
MicrosoftMangle.cpp Remove unused #include <map> 2013-05-22 18:46:02 +00:00
NSAPI.cpp Use None rather than Optional<T>() where possible. 2013-02-21 01:47:18 +00:00
NestedNameSpecifier.cpp Streamify getNameForDiagnostic and remove the string versions of PrintTemplateArgumentList. 2013-02-22 15:46:01 +00:00
ParentMap.cpp Removed invalid character. 2013-05-18 04:32:15 +00:00
RawCommentList.cpp [Doc parsing] Provide diagnostics for unknown documentation 2013-05-03 23:15:20 +00:00
RecordLayout.cpp First pass at abstracting out a class for the target C++ ABI. 2013-01-25 22:30:49 +00:00
RecordLayoutBuilder.cpp [ms-cxxabi] There are no key functions in the Microsoft C++ ABI 2013-05-29 16:18:30 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp First pass of semantic analysis for init-captures: check the initializer, build 2013-05-16 06:20:58 +00:00
StmtIterator.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
StmtPrinter.cpp Fix printing CXXTemporaryObjectExpr with default args. 2013-05-24 16:11:44 +00:00
StmtProfile.cpp First pass of semantic analysis for init-captures: check the initializer, build 2013-05-16 06:20:58 +00:00
StmtViz.cpp
TemplateBase.cpp Debug Info: include address-of ('&') operator and qualified names in template argument lists 2013-05-09 22:43:45 +00:00
TemplateName.cpp Add quotation marks to template names in diagnostics. 2013-03-05 06:21:38 +00:00
Type.cpp Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros. 2013-05-24 21:42:04 +00:00
TypeLoc.cpp Rename TypeLoc's isType to isKind 2013-02-21 01:47:08 +00:00
TypePrinter.cpp Adding in parsing and the start of semantic support for __sptr and __uptr pointer type qualifiers. This patch also fixes the correlated __ptr32 and __ptr64 pointer qualifiers so that they are truly type attributes instead of declaration attributes. 2013-05-22 23:25:32 +00:00
VTTBuilder.cpp Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00
VTableBuilder.cpp Fix one FIXME in VTableBuilder 2013-05-08 08:09:21 +00:00