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/TargetInfo.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/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 6e0e962e943..c341cbbf61f 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -18,15 +18,16 @@ #include "CGValue.h" #include "CodeGenFunction.h" #include "clang/AST/RecordLayout.h" +#include "clang/Basic/CodeGenOptions.h" #include "clang/CodeGen/CGFunctionInfo.h" #include "clang/CodeGen/SwiftCallingConv.h" -#include "clang/Frontend/CodeGenOptions.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/Triple.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/Type.h" #include "llvm/Support/raw_ostream.h" -#include <algorithm> // std::sort + +#include <algorithm> // std::sort using namespace clang; using namespace CodeGen; |