revert SVN r265702, r265640
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 8 Apr 2016 16:52:00 +0000 (16:52 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 8 Apr 2016 16:52:00 +0000 (16:52 +0000)
commit10a4972a8d872f33ec109936543ec9fc583a56e3
treea13c98b59628de16d487226becdb8f44c8a4fb3d
parent56737722e43464b896b9e7e628a8c3ce841da605
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
36 files changed:
clang/include/clang/Basic/TargetInfo.h
clang/include/clang/Frontend/CodeGenOptions.def [moved from clang/include/clang/Basic/CodeGenOptions.def with 100% similarity]
clang/include/clang/Frontend/CodeGenOptions.h [moved from clang/include/clang/Basic/CodeGenOptions.h with 97% similarity]
clang/include/clang/Frontend/CompilerInvocation.h
clang/include/clang/module.modulemap
clang/lib/Basic/CMakeLists.txt
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/ASTUnit.cpp
clang/lib/Frontend/CMakeLists.txt
clang/lib/Frontend/ChainedIncludesSource.cpp
clang/lib/Frontend/CodeGenOptions.cpp [moved from clang/lib/Basic/CodeGenOptions.cpp with 90% similarity]
clang/lib/Frontend/CompilerInstance.cpp