diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-11-17 18:04:13 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-11-17 18:04:13 +0000 |
commit | 9941da41918fde4e1d1afe6923f122bea3e99597 (patch) | |
tree | 4bea587ff459e0a3c9961ebf7928d9b878d5b2c6 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | ef543381ed713c1dce381d064812194bf3ae8e6b (diff) | |
download | bcm5719-llvm-9941da41918fde4e1d1afe6923f122bea3e99597.tar.gz bcm5719-llvm-9941da41918fde4e1d1afe6923f122bea3e99597.zip |
Sink BuryPointer from Clang into LLVM for reuse there
llvm-svn: 347141
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index fdb5c7e4823..0903f2bb8bb 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -12,7 +12,6 @@ // //===----------------------------------------------------------------------===// -#include "clang/FrontendTool/Utils.h" #include "clang/ARCMigrate/ARCMTActions.h" #include "clang/CodeGen/CodeGenAction.h" #include "clang/Config/config.h" @@ -23,10 +22,12 @@ #include "clang/Frontend/FrontendDiagnostic.h" #include "clang/Frontend/FrontendPluginRegistry.h" #include "clang/Frontend/Utils.h" +#include "clang/FrontendTool/Utils.h" #include "clang/Rewrite/Frontend/FrontendActions.h" #include "clang/StaticAnalyzer/Frontend/FrontendActions.h" #include "llvm/Option/OptTable.h" #include "llvm/Option/Option.h" +#include "llvm/Support/BuryPointer.h" #include "llvm/Support/DynamicLibrary.h" #include "llvm/Support/ErrorHandling.h" using namespace clang; @@ -265,7 +266,7 @@ bool ExecuteCompilerInvocation(CompilerInstance *Clang) { return false; bool Success = Clang->ExecuteAction(*Act); if (Clang->getFrontendOpts().DisableFree) - BuryPointer(std::move(Act)); + llvm::BuryPointer(std::move(Act)); return Success; } |