llvm-project/clang/unittests/AST
David Blaikie ea4395ebcd Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer"
Aleksey Shlypanikov pointed out my mistake in migrating an explicit
unique_ptr to auto - I was expecting the function returned a unique_ptr,
but instead it returned a raw pointer - introducing a leak.

Thanks Aleksey!

This reapplies r291184, reverted in r291249.

llvm-svn: 291270
2017-01-06 19:49:01 +00:00
..
ASTContextParentMapTest.cpp Prune away some unused using decls. NFC. 2016-06-08 15:34:36 +00:00
ASTImporterTest.cpp [ASTImporter] Added ability to import AtomicType nodes 2016-11-23 15:24:23 +00:00
ASTTypeTraitsTest.cpp Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
ASTVectorTest.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CMakeLists.txt Recommit r274348 and r274349. The Windows failures should be fixed. 2016-07-08 08:33:56 +00:00
CommentLexer.cpp unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
CommentParser.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
DeclPrinterTest.cpp Remove deprecated methods ast_matchers::BoundNodes::{getStmtAs,getDeclAs} 2016-12-13 16:19:34 +00:00
DeclTest.cpp Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
EvaluateAsRValueTest.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
ExternalASTSourceTest.cpp Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
MatchVerifier.h Adding new AST matchers for: addrLabelExpr, atomicExpr, binaryConditionalOperator, designatedInitExpr, designatorCountIs, hasSyntacticForm, implicitValueInitExpr, labelDecl, opaqueValueExpr, parenListExpr, predefinedExpr, requiresZeroInitialization, and stmtExpr. 2016-03-09 17:11:51 +00:00
NamedDeclPrinterTest.cpp Adjust printQualifiedName to handle unscoped enums in a way similar to anonymous namespaces. 2015-11-09 16:45:17 +00:00
PostOrderASTVisitor.cpp [RecursiveASTVisitor] Improve post-order traversal unit test 2016-12-07 20:38:20 +00:00
SourceLocationTest.cpp [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
StmtPrinterTest.cpp Remove deprecated methods ast_matchers::BoundNodes::{getStmtAs,getDeclAs} 2016-12-13 16:19:34 +00:00