Lines Matching refs:SubClass
146 bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) { in AddSubClass() argument
147 Record *SC = SubClass.Rec; in AddSubClass()
151 if (AddValue(CurRec, SubClass.RefLoc, Vals[i])) in AddSubClass()
157 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
158 return Error(SubClass.RefLoc, "More template args specified than expected"); in AddSubClass()
163 if (i < SubClass.TemplateArgs.size()) { in AddSubClass()
165 if (SetValue(CurRec, SubClass.RefLoc, TArgs[i], std::vector<unsigned>(), in AddSubClass()
166 SubClass.TemplateArgs[i])) in AddSubClass()
176 return Error(SubClass.RefLoc,"Value not specified for template argument #" in AddSubClass()
187 return Error(SubClass.RefLoc, in AddSubClass()
193 return Error(SubClass.RefLoc, in AddSubClass()
1638 SubClassReference SubClass = ParseSubClassReference(CurRec, false); in ParseObjectBody() local
1641 if (SubClass.Rec == 0) return true; in ParseObjectBody()
1644 if (AddSubClass(CurRec, SubClass)) in ParseObjectBody()
1649 SubClass = ParseSubClassReference(CurRec, false); in ParseObjectBody()
2113 SubClassReference SubClass = ParseSubClassReference(0, false); in ParseDefm() local
2116 if (SubClass.Rec == 0) return true; in ParseDefm()
2124 if (AddSubClass(CurRec, SubClass)) in ParseDefm()
2137 SubClass = ParseSubClassReference(0, false); in ParseDefm()