diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-07 17:49:44 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-07 17:49:44 +0000 |
commit | 94cfc603d1896f0f76e7ede712280f526bc88602 (patch) | |
tree | 83befabb82d5b4096a89cd47c7315edfb12de4a1 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | ee366eff4498e2e82e8be9e7c4fde262a1c2d386 (diff) | |
download | bcm5719-llvm-94cfc603d1896f0f76e7ede712280f526bc88602.tar.gz bcm5719-llvm-94cfc603d1896f0f76e7ede712280f526bc88602.zip |
Basic: move CodeGenOptions from Frontend
This is a mechanical move of CodeGenOptions from libFrontend to libBasic. This
fixes the layering violation introduced earlier by threading CodeGenOptions into
TargetInfo. It should also fix the modules based self-hosting builds. NFC.
llvm-svn: 265702
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r-- | clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp index d609cf2648a..4b1d46b8713 100644 --- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp +++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp @@ -14,10 +14,10 @@ #include "clang/AST/DeclObjC.h" #include "clang/AST/Expr.h" #include "clang/AST/RecursiveASTVisitor.h" +#include "clang/Basic/CodeGenOptions.h" #include "clang/Basic/Diagnostic.h" #include "clang/Basic/TargetInfo.h" #include "clang/CodeGen/BackendUtil.h" -#include "clang/Frontend/CodeGenOptions.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Lex/HeaderSearch.h" #include "clang/Lex/Preprocessor.h" @@ -33,6 +33,7 @@ #include "llvm/Object/ObjectFile.h" #include "llvm/Support/Path.h" #include "llvm/Support/TargetRegistry.h" + #include <memory> using namespace clang; |