diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-08 16:52:00 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-08 16:52:00 +0000 |
commit | 10a4972a8d872f33ec109936543ec9fc583a56e3 (patch) | |
tree | a13c98b59628de16d487226becdb8f44c8a4fb3d /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | 56737722e43464b896b9e7e628a8c3ce841da605 (diff) | |
download | llvm-10a4972a8d872f33ec109936543ec9fc583a56e3.zip llvm-10a4972a8d872f33ec109936543ec9fc583a56e3.tar.gz llvm-10a4972a8d872f33ec109936543ec9fc583a56e3.tar.bz2 |
revert SVN r265702, r265640
Revert the two changes to thread CodeGenOptions into the TargetInfo allocation
and to fix the layering violation by moving CodeGenOptions into Basic.
Code Generation is arguably not particularly "basic". This addresses Richard's
post-commit review comments. This change purely does the mechanical revert and
will be followed up with an alternate approach to thread the desired information
into TargetInfo.
llvm-svn: 265806
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r-- | clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp index 4b1d46b..d609cf2 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,7 +33,6 @@ #include "llvm/Object/ObjectFile.h" #include "llvm/Support/Path.h" #include "llvm/Support/TargetRegistry.h" - #include <memory> using namespace clang; |