Basic: move CodeGenOptions from Frontend
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 7 Apr 2016 17:49:44 +0000 (17:49 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 7 Apr 2016 17:49:44 +0000 (17:49 +0000)
commit94cfc603d1896f0f76e7ede712280f526bc88602
tree83befabb82d5b4096a89cd47c7315edfb12de4a1
parentee366eff4498e2e82e8be9e7c4fde262a1c2d386
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
35 files changed:
clang/include/clang/Basic/CodeGenOptions.def [moved from clang/include/clang/Frontend/CodeGenOptions.def with 100% similarity]
clang/include/clang/Basic/CodeGenOptions.h [moved from clang/include/clang/Frontend/CodeGenOptions.h with 97% similarity]
clang/include/clang/Basic/TargetInfo.h
clang/include/clang/Frontend/CompilerInvocation.h
clang/include/clang/module.modulemap
clang/lib/Basic/CMakeLists.txt
clang/lib/Basic/CodeGenOptions.cpp [moved from clang/lib/Frontend/CodeGenOptions.cpp with 90% similarity]
clang/lib/Basic/Targets.cpp
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGCXX.cpp
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGClass.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDebugInfo.h
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/CGObjCMac.cpp
clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
clang/lib/CodeGen/CGVTables.cpp
clang/lib/CodeGen/CodeGenABITypes.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenPGO.h
clang/lib/CodeGen/CodeGenTBAA.cpp
clang/lib/CodeGen/CoverageMappingGen.h
clang/lib/CodeGen/ModuleBuilder.cpp
clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Frontend/CMakeLists.txt
clang/unittests/Basic/CMakeLists.txt
clang/unittests/Lex/CMakeLists.txt