X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FTGParser.h;h=edbc4c1fc9d7fb39fb23e243e48e5c30364fe2cd;hb=38deef9ce58b33dba34515f23fb7dbde02164c77;hp=fd33aec0fb321985c395c0c6cde0167bbf397602;hpb=41b2340b74fa27344c79b0cbd2d8b2ad2b7d2b62;p=oota-llvm.git diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h index fd33aec0fb3..edbc4c1fc9d 100644 --- a/utils/TableGen/TGParser.h +++ b/utils/TableGen/TGParser.h @@ -23,7 +23,7 @@ namespace llvm { struct RecTy; struct Init; struct MultiClass; - struct SubClassReference; + class SubClassReference; struct LetRecord { std::string Name; @@ -66,7 +66,7 @@ private: // Semantic analysis methods. bool AddValue(Record *TheRec, LocTy Loc, const RecordVal &RV); bool SetValue(Record *TheRec, LocTy Loc, const std::string &ValName, const std::vector &BitList, Init *V); - bool AddSubClass(Record *Rec, class SubClassReference &SubClass); + bool AddSubClass(Record *Rec, SubClassReference &SubClass); private: // Parser methods. bool ParseObjectList();