For the dwarf expression code get the subtarget off of the current
[oota-llvm.git] / lib / TableGen / TGParser.h
index 79994cbc1a6dbf2b8ee38f5480c0c728444b8a9a..22a00e5919512609369c4c937d4a32db4acd1610 100644 (file)
@@ -55,7 +55,7 @@ namespace llvm {
 class TGParser {
   TGLexer Lex;
   std::vector<std::vector<LetRecord> > LetStack;
-  std::map<std::string, MultiClass*> MultiClasses;
+  std::map<std::string, std::unique_ptr<MultiClass>> MultiClasses;
 
   /// Loops - Keep track of any foreach loops we are within.
   ///