]> granicus.if.org Git - clang/commitdiff
Remove unused CodeGenOptions from CodeGenTypes.
authorMark Lacey <mark.lacey@apple.com>
Thu, 24 Oct 2013 22:08:55 +0000 (22:08 +0000)
committerMark Lacey <mark.lacey@apple.com>
Thu, 24 Oct 2013 22:08:55 +0000 (22:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193376 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/CodeGenTypes.h

index 442f2931a0a350f451a0de6eb5c0e05b37c0779f..24c5f95333aaedaad1aea93e8a2ecb614af421a8 100644 (file)
@@ -32,7 +32,6 @@ CodeGenTypes::CodeGenTypes(CodeGenModule &cgm)
   : CGM(cgm), Context(cgm.getContext()), TheModule(cgm.getModule()),
     TheDataLayout(cgm.getDataLayout()),
     Target(cgm.getTarget()), TheCXXABI(cgm.getCXXABI()),
-    CodeGenOpts(cgm.getCodeGenOpts()),
     TheABIInfo(cgm.getTargetCodeGenInfo().getABIInfo()) {
   SkippedLayout = false;
 }
index 530ce011f6a19bbf48b59a72bdf0dee6ea5ae8a0..90cfcfdeab849a869653259b45045d168752380c 100644 (file)
@@ -65,7 +65,6 @@ class CodeGenTypes {
   const llvm::DataLayout &TheDataLayout;
   const TargetInfo &Target;
   CGCXXABI &TheCXXABI;
-  const CodeGenOptions &CodeGenOpts;
 
   // This should not be moved earlier, since its initialization depends on some
   // of the previous reference members being already initialized
@@ -114,7 +113,6 @@ public:
   const llvm::DataLayout &getDataLayout() const { return TheDataLayout; }
   ASTContext &getContext() const { return Context; }
   const ABIInfo &getABIInfo() const { return TheABIInfo; }
-  const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
   const TargetInfo &getTarget() const { return Target; }
   CGCXXABI &getCXXABI() const { return TheCXXABI; }
   llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }