]> granicus.if.org Git - clang/commitdiff
Move CodeGenOptions.h *back* into Frontend. This should have been done when the
authorChandler Carruth <chandlerc@gmail.com>
Tue, 15 Jun 2010 23:19:56 +0000 (23:19 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 15 Jun 2010 23:19:56 +0000 (23:19 +0000)
dependency edge was reversed such that CodeGen depends on Frontend.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106065 91177308-0d34-0410-b5e6-96231b3b80d8

12 files changed:
include/clang/Frontend/CodeGenOptions.h [moved from include/clang/CodeGen/CodeGenOptions.h with 98% similarity]
include/clang/Frontend/CompilerInvocation.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGCXX.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ModuleBuilder.cpp

similarity index 98%
rename from include/clang/CodeGen/CodeGenOptions.h
rename to include/clang/Frontend/CodeGenOptions.h
index e1c409b62d91c8208afdaf1aad3947fce3506bb9..bfee72cba4c92fda7346d56cde2845eb3c46c1b4 100644 (file)
@@ -11,8 +11,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CLANG_CODEGEN_CODEGENOPTIONS_H
-#define LLVM_CLANG_CODEGEN_CODEGENOPTIONS_H
+#ifndef LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H
+#define LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H
 
 #include <string>
 
index 05e1aa09cfeece8ae3ad583361be5e4ea2a2131e..d558ad39140650ed4c515d613df270517c7340c6 100644 (file)
@@ -12,8 +12,8 @@
 
 #include "clang/Basic/LangOptions.h"
 #include "clang/Basic/TargetOptions.h"
-#include "clang/CodeGen/CodeGenOptions.h"
 #include "clang/Frontend/AnalyzerOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "clang/Frontend/DependencyOutputOptions.h"
 #include "clang/Frontend/DiagnosticOptions.h"
 #include "clang/Frontend/FrontendOptions.h"
index 766b239c4c0b30fdd9a31e1740b4d34dc90b816a..793a4da23ec7de9dd0885a9c81043bbb5c0bee5a 100644 (file)
@@ -10,7 +10,7 @@
 #include "clang/CodeGen/BackendUtil.h"
 #include "clang/Basic/Diagnostic.h"
 #include "clang/Basic/TargetOptions.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "clang/Frontend/FrontendDiagnostic.h"
 #include "llvm/Module.h"
 #include "llvm/PassManager.h"
index ea5017d7d08418468e51f5e4c7b6552375571658..d712fa4bb35bf7046eed32614ae32924f8582fe4 100644 (file)
@@ -23,7 +23,7 @@
 #include "clang/AST/DeclCXX.h"
 #include "clang/AST/DeclObjC.h"
 #include "clang/AST/StmtCXX.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/StringExtras.h"
 using namespace clang;
 using namespace CodeGen;
index f8fa620c4ba95617f3b85a949b447c4c375f2492..349ab852c94f05bc7d59e7bd993d6890055d8f58 100644 (file)
@@ -19,7 +19,7 @@
 #include "clang/AST/Decl.h"
 #include "clang/AST/DeclCXX.h"
 #include "clang/AST/DeclObjC.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/Attributes.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Target/TargetData.h"
index 6025e09e7a26cb707887f2514346a33049959445..ed29a8cb0dc5f92d9678087cabb6fef2da70e363 100644 (file)
@@ -21,7 +21,7 @@
 #include "clang/Basic/SourceManager.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/Version.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Instructions.h"
index e8b67b8864b74f5819da34a483918cb31b6d83ed..d20a7726d013fa0d7c8d5908ee20057866ea6cf4 100644 (file)
@@ -20,7 +20,7 @@
 #include "clang/AST/DeclObjC.h"
 #include "clang/Basic/SourceManager.h"
 #include "clang/Basic/TargetInfo.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/GlobalVariable.h"
 #include "llvm/Intrinsics.h"
 #include "llvm/Target/TargetData.h"
index b54f5af7540f5cf47c324f9e14122f6530566ed9..b890e2f0a47e2348a215d85e33969913a2003fce 100644 (file)
@@ -12,7 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "CodeGenFunction.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/Intrinsics.h"
 
 using namespace clang;
index d67618bfca35b7e1e5ca82fb76d72ce0d15e1dbd..4b66ec277e02f23af0562db5833fc3fa82b3f30d 100644 (file)
@@ -19,7 +19,7 @@
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/DeclObjC.h"
 #include "llvm/Intrinsics.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/Target/TargetData.h"
 using namespace clang;
 using namespace CodeGen;
index d59f367347552fdba5d15fe62d4c47d577390809..24c7511a513311cc2c345a98e4ede8514debbaaf 100644 (file)
@@ -22,7 +22,7 @@
 #include "clang/AST/RecordLayout.h"
 #include "clang/AST/StmtObjC.h"
 #include "clang/Basic/LangOptions.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 
 #include "llvm/Intrinsics.h"
 #include "llvm/LLVMContext.h"
index 31842d61445c0304df86150908ccc1de8698dd09..fbd80ed8d5b213eb22cebd6526c183aa8d6e615e 100644 (file)
@@ -18,7 +18,7 @@
 #include "CGObjCRuntime.h"
 #include "Mangle.h"
 #include "TargetInfo.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/CharUnits.h"
 #include "clang/AST/DeclObjC.h"
index 9905ca6f1dc81999f3b97151ce72997939b96513..6d9d2770c7c84d3744b32489fea1313ab6e469f4 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "clang/CodeGen/ModuleBuilder.h"
 #include "CodeGenModule.h"
-#include "clang/CodeGen/CodeGenOptions.h"
+#include "clang/Frontend/CodeGenOptions.h"
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/DeclObjC.h"
 #include "clang/AST/Expr.h"