summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenPGO.h
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-04-07 17:49:44 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-04-07 17:49:44 +0000
commit94cfc603d1896f0f76e7ede712280f526bc88602 (patch)
tree83befabb82d5b4096a89cd47c7315edfb12de4a1 /clang/lib/CodeGen/CodeGenPGO.h
parentee366eff4498e2e82e8be9e7c4fde262a1c2d386 (diff)
downloadbcm5719-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/CodeGenPGO.h')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.h b/clang/lib/CodeGen/CodeGenPGO.h
index ccda5759e67..17312f419c7 100644
--- a/clang/lib/CodeGen/CodeGenPGO.h
+++ b/clang/lib/CodeGen/CodeGenPGO.h
@@ -17,10 +17,11 @@
#include "CGBuilder.h"
#include "CodeGenModule.h"
#include "CodeGenTypes.h"
-#include "clang/Frontend/CodeGenOptions.h"
+#include "clang/Basic/CodeGenOptions.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ProfileData/InstrProfReader.h"
#include "llvm/Support/MemoryBuffer.h"
+
#include <array>
#include <memory>
OpenPOWER on IntegriCloud