X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FTGParser.h;h=edbc4c1fc9d7fb39fb23e243e48e5c30364fe2cd;hb=38deef9ce58b33dba34515f23fb7dbde02164c77;hp=a5435afacf29ad9f99d3c3422380f3d0265a32df;hpb=3060910e290949a9ac5eda8726d030790c4d60ff;p=oota-llvm.git diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h index a5435afacf2..edbc4c1fc9d 100644 --- a/utils/TableGen/TGParser.h +++ b/utils/TableGen/TGParser.h @@ -20,10 +20,10 @@ namespace llvm { class Record; class RecordVal; - class RecTy; - class Init; + 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();