]> granicus.if.org Git - clang/commit
unique_ptr-ify ownership of ASTConsumers
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 17 Jul 2014 20:40:36 +0000 (20:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 17 Jul 2014 20:40:36 +0000 (20:40 +0000)
commit4d15e347a0bb35430635e1ae50d429c49761ae31
treeacf66daecbe11d2bbc0db6285245ec70edb71dfb
parent6042ad3646ce7238962b2fdfd60c66c2dc06df1c
unique_ptr-ify ownership of ASTConsumers

(after fixing a bug in MultiplexConsumer I noticed the ownership of the
nested consumers was implemented with raw pointers - so this fixes
that... and follows the source back to its origin pushing unique_ptr
ownership up through there too)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213307 91177308-0d34-0410-b5e6-96231b3b80d8
42 files changed:
examples/PrintFunctionNames/PrintFunctionNames.cpp
include/clang/ARCMigrate/ARCMTActions.h
include/clang/ASTMatchers/ASTMatchFinder.h
include/clang/CodeGen/CodeGenAction.h
include/clang/Frontend/ASTConsumers.h
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/FrontendAction.h
include/clang/Frontend/FrontendActions.h
include/clang/Frontend/MultiplexConsumer.h
include/clang/Rewrite/Frontend/ASTConsumers.h
include/clang/Rewrite/Frontend/FrontendActions.h
include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
include/clang/StaticAnalyzer/Frontend/FrontendActions.h
include/clang/Tooling/Tooling.h
lib/ARCMigrate/ARCMT.cpp
lib/ARCMigrate/ObjCMT.cpp
lib/ASTMatchers/ASTMatchFinder.cpp
lib/CodeGen/CodeGenAction.cpp
lib/Frontend/ASTConsumers.cpp
lib/Frontend/ASTMerge.cpp
lib/Frontend/ASTUnit.cpp
lib/Frontend/ChainedIncludesSource.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/FrontendActions.cpp
lib/Frontend/MultiplexConsumer.cpp
lib/Frontend/Rewrite/FrontendActions.cpp
lib/Frontend/Rewrite/HTMLPrint.cpp
lib/Frontend/Rewrite/RewriteModernObjC.cpp
lib/Frontend/Rewrite/RewriteObjC.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
lib/StaticAnalyzer/Frontend/FrontendActions.cpp
tools/clang-check/ClangCheck.cpp
tools/libclang/Indexing.cpp
unittests/AST/EvaluateAsRValueTest.cpp
unittests/AST/ExternalASTSourceTest.cpp
unittests/AST/NamedDeclPrinterTest.cpp
unittests/Frontend/FrontendActionTest.cpp
unittests/Sema/ExternalSemaSourceTest.cpp
unittests/Tooling/RefactoringTest.cpp
unittests/Tooling/TestVisitor.h
unittests/Tooling/ToolingTest.cpp