Lines Matching refs:Class
289 : Self(P), Class(C) {} in LateParsedClass()
292 Self->DeallocateParsedClasses(Class); in ~LateParsedClass()
296 Self->ParseLexedMethodDeclarations(*Class); in ParseLexedMethodDeclarations()
300 Self->ParseLexedMemberInitializers(*Class); in ParseLexedMemberInitializers()
304 Self->ParseLexedMethodDefs(*Class); in ParseLexedMethodDefs()
308 Self->ParseLexedAttributes(*Class); in ParseLexedAttributes()
312 Self->ParseLexedPragmas(*Class); in ParseLexedPragmas()
353 ParsingClass &Class; member
355 ReenterClassScopeRAII(Parser &P, ParsingClass &Class) in ReenterClassScopeRAII()
356 : ReenterTemplateScopeRAII(P, Class.TagOrTemplate, in ReenterClassScopeRAII()
357 /*Enter=*/!Class.TopLevelClass), in ReenterClassScopeRAII()
358 Class(Class) { in ReenterClassScopeRAII()
360 if (Class.TopLevelClass) in ReenterClassScopeRAII()
366 Class.TagOrTemplate); in ReenterClassScopeRAII()
369 if (Class.TopLevelClass) in ~ReenterClassScopeRAII()
373 Class.TagOrTemplate); in ~ReenterClassScopeRAII()
381 void Parser::ParseLexedMethodDeclarations(ParsingClass &Class) { in ParseLexedMethodDeclarations() argument
382 ReenterClassScopeRAII InClassScope(*this, Class); in ParseLexedMethodDeclarations()
384 for (LateParsedDeclaration *LateD : Class.LateParsedDeclarations) in ParseLexedMethodDeclarations()
588 void Parser::ParseLexedMethodDefs(ParsingClass &Class) { in ParseLexedMethodDefs() argument
589 ReenterClassScopeRAII InClassScope(*this, Class); in ParseLexedMethodDefs()
591 for (LateParsedDeclaration *D : Class.LateParsedDeclarations) in ParseLexedMethodDefs()
679 void Parser::ParseLexedMemberInitializers(ParsingClass &Class) { in ParseLexedMemberInitializers() argument
680 ReenterClassScopeRAII InClassScope(*this, Class); in ParseLexedMemberInitializers()
682 if (!Class.LateParsedDeclarations.empty()) { in ParseLexedMemberInitializers()
689 Sema::CXXThisScopeRAII ThisScope(Actions, Class.TagOrTemplate, in ParseLexedMemberInitializers()
692 for (LateParsedDeclaration *D : Class.LateParsedDeclarations) in ParseLexedMemberInitializers()
696 Actions.ActOnFinishDelayedMemberInitializers(Class.TagOrTemplate); in ParseLexedMemberInitializers()
749 void Parser::ParseLexedAttributes(ParsingClass &Class) { in ParseLexedAttributes() argument
750 ReenterClassScopeRAII InClassScope(*this, Class); in ParseLexedAttributes()
752 for (LateParsedDeclaration *LateD : Class.LateParsedDeclarations) in ParseLexedAttributes()
850 void Parser::ParseLexedPragmas(ParsingClass &Class) { in ParseLexedPragmas() argument
851 ReenterClassScopeRAII InClassScope(*this, Class); in ParseLexedPragmas()
853 for (LateParsedDeclaration *D : Class.LateParsedDeclarations) in ParseLexedPragmas()