llvm-project/clang/unittests/AST
Evgeniy Stepanov 8b5783194c Fix memory leak in DeclTest.
Fixes a leak introduced in r372903, detected on the ASan bot.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/35430/steps/check-clang%20asan/logs/stdio

Direct leak of 192 byte(s) in 1 object(s) allocated from:
    #0 0x561d88 in operator new(unsigned long) /b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_new_delete.cc:105
    #1 0x1a48779 in clang::ItaniumMangleContext::create(clang::ASTContext&, clang::DiagnosticsEngine&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/lib/AST/ItaniumMangle.cpp:5134:10
    #2 0xdff000 in Decl_AsmLabelAttr_Test::TestBody() /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/unittests/AST/DeclTest.cpp:97:23

llvm-svn: 372925
2019-09-25 22:38:20 +00:00
..
ASTContextParentMapTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTImporterFixtures.cpp [ASTImporter] Fix name conflict handling with different strategies 2019-08-27 11:36:10 +00:00
ASTImporterFixtures.h [ASTImporter] Fix name conflict handling with different strategies 2019-08-27 11:36:10 +00:00
ASTImporterGenericRedeclTest.cpp [ASTImporter] Separate unittest files 2019-05-13 10:06:25 +00:00
ASTImporterODRStrategiesTest.cpp [ASTImporter] 4th attempt to fix Windows buildbot test errors 2019-09-24 09:00:46 +00:00
ASTImporterTest.cpp [ASTImporter][NFC] Add comprehensive tests for ODR violation handling strategies 2019-09-23 09:32:07 +00:00
ASTImporterVisibilityTest.cpp [Clang][ASTImporter] Added visibility check for FunctionTemplateDecl. 2019-09-13 08:03:49 +00:00
ASTPrint.h [clang][OpeMP] Model OpenMP structured-block in AST (PR40563) 2019-03-20 16:32:36 +00:00
ASTTraverserTest.cpp [clang] Fix mismatched args constructing AddressSpaceAttr. 2019-08-07 11:12:43 +00:00
ASTTypeTraitsTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTVectorTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [ASTImporter][NFC] Add comprehensive tests for ODR violation handling strategies 2019-09-23 09:32:07 +00:00
CommentLexer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommentParser.cpp [unittests][AST] CommentParser: don't name variable 'DEBUG' 2019-09-02 12:34:21 +00:00
CommentTextTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DataCollectionTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclMatcher.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclPrinterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclTest.cpp Fix memory leak in DeclTest. 2019-09-25 22:38:20 +00:00
EvaluateAsRValueTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
ExternalASTSourceTest.cpp ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
Language.cpp [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
Language.h [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
MatchVerifier.h [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
NamedDeclPrinterTest.cpp Re-land r372863: [AST] Extract Decl::printNestedNameSpecifier helper from Decl::printQualifiedName 2019-09-25 15:46:04 +00:00
OMPStructuredBlockTest.cpp [AST] OMPStructuredBlockTest: avoid using multiline string literals in macros 2019-03-22 13:40:36 +00:00
RecursiveASTVisitorTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
SourceLocationTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StmtPrinterTest.cpp [clang] Respect TerseOutput when printing lambdas 2019-05-27 16:20:45 +00:00
StructuralEquivalenceTest.cpp [AST] AST structural equivalence to work internally with pairs. 2019-09-02 11:01:09 +00:00