Lines Matching refs:TUK

12257 Decl *Sema::ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK,  in ActOnTag()  argument
12270 assert((Name != nullptr || TUK == TUK_Definition) && in ActOnTag()
12272 assert(TemplateParameterLists.size() == 0 || TUK != TUK_Reference); in ActOnTag()
12286 (SS.isNotEmpty() && TUK != TUK_Reference)) { in ActOnTag()
12290 TUK == TUK_Friend, isExplicitSpecialization, Invalid)) { in ActOnTag()
12304 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc, in ActOnTag()
12349 if (getLangOpts().MSVCCompat || TUK == TUK_Definition) { in ActOnTag()
12362 if (TUK == TUK_Friend || TUK == TUK_Reference) in ActOnTag()
12377 if (TUK == TUK_Friend || TUK == TUK_Reference) { in ActOnTag()
12410 (TUK == TUK_Reference || TUK == TUK_Friend)) { in ActOnTag()
12427 if (TUK != TUK_Reference && TUK != TUK_Friend && in ActOnTag()
12441 (TUK == TUK_Definition || TUK == TUK_Declaration)) { in ActOnTag()
12465 if (!Previous.empty() && TUK == TUK_Friend) { in ActOnTag()
12495 if (!getLangOpts().CPlusPlus && TUK != TUK_Reference) { in ActOnTag()
12531 (TUK == TUK_Reference || TUK == TUK_Friend)) { in ActOnTag()
12535 if (TUK == TUK_Reference) { in ActOnTag()
12569 assert(TUK == TUK_Friend); in ActOnTag()
12630 if (SS.isEmpty() && TUK != TUK_Reference && TUK != TUK_Friend && in ActOnTag()
12649 if (TUK == TUK_Reference || TUK == TUK_Friend || in ActOnTag()
12655 TUK == TUK_Definition, KWLoc, in ActOnTag()
12684 if (TUK == TUK_Reference || TUK == TUK_Friend) { in ActOnTag()
12704 return TUK == TUK_Declaration ? PrevTagDecl : nullptr; in ActOnTag()
12711 if (TUK == TUK_Declaration && PrevDecl->isCXXClassMember() && in ActOnTag()
12720 if (TUK == TUK_Reference || TUK == TUK_Friend) { in ActOnTag()
12724 } else if (TUK == TUK_Reference && in ActOnTag()
12750 if (TUK == TUK_Definition) { in ActOnTag()
12814 if (TUK == TUK_Friend || TUK == TUK_Reference) { in ActOnTag()
12840 if ((TUK == TUK_Reference || TUK == TUK_Friend) && in ActOnTag()
12856 } else if (TUK == TUK_Reference || TUK == TUK_Friend) { in ActOnTag()
12915 if (TUK != TUK_Definition && !Invalid) { in ActOnTag()
12937 if (TUK == TUK_Reference) in ActOnTag()
12969 if (getLangOpts().CPlusPlus && IsTypeSpecifier && TUK == TUK_Definition) { in ActOnTag()
12984 (TUK == TUK_Definition || TUK == TUK_Declaration) && in ActOnTag()
13007 if (TUK == TUK_Definition) { in ActOnTag()
13038 if (TUK == TUK_Definition && !IsTypeSpecifier) { in ActOnTag()
13063 if (TUK == TUK_Friend) in ActOnTag()
13070 if (TUK == TUK_Definition) in ActOnTag()
13074 if (TUK == TUK_Friend) { in ActOnTag()