]> granicus.if.org Git - clang/blobdiff - include/clang/CodeGen/CodeGenABITypes.h
Undo the unique_ptr'fication of CodeGenABITypes::CGM introduced in r248762.
[clang] / include / clang / CodeGen / CodeGenABITypes.h
index 455ad7458443625065eb14b80b2dacd1486c58a2..25b8ef154af6690e3f3ad3240ee0cf2a3f9719d0 100644 (file)
@@ -52,6 +52,7 @@ class CodeGenABITypes
 public:
   CodeGenABITypes(ASTContext &C, llvm::Module &M,
                   CoverageSourceInfo *CoverageInfo = nullptr);
+  ~CodeGenABITypes();
 
   /// These methods all forward to methods in the private implementation class
   /// CodeGenTypes.
@@ -79,7 +80,7 @@ private:
   std::unique_ptr<PreprocessorOptions> PPO;
 
   /// The CodeGenModule we use get to the CodeGenTypes object.
-  std::unique_ptr<CodeGen::CodeGenModule> CGM;
+  CodeGen::CodeGenModule *CGM;
 };
 
 }  // end namespace CodeGen