Searched refs:TUK_Friend (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 881 (SS.isEmpty() && TUK == TUK_Friend) in CheckClassTemplate() 890 Diag(NameLoc, TUK == TUK_Friend in CheckClassTemplate() 894 return TUK != TUK_Friend; in CheckClassTemplate() 907 } else if (TUK != TUK_Friend && TUK != TUK_Reference) in CheckClassTemplate() 918 if (TUK != TUK_Friend && in CheckClassTemplate() 960 if (TUK == TUK_Friend) { in CheckClassTemplate() 1021 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate() 1081 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate() 1089 : TUK == TUK_Friend ? TPC_FriendClassTemplate in CheckClassTemplate() 1097 Diag(NameLoc, TUK == TUK_Friend ? diag::err_friend_decl_does_not_match in CheckClassTemplate() [all …]
|
D | SemaDecl.cpp | 12290 TUK == TUK_Friend, isExplicitSpecialization, Invalid)) { 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() 12465 if (!Previous.empty() && TUK == TUK_Friend) { in ActOnTag() 12531 (TUK == TUK_Reference || TUK == TUK_Friend)) { 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() [all …]
|
D | SemaDeclCXX.cpp | 12514 return CheckClassTemplate(S, TagSpec, TUK_Friend, TagLoc, SS, Name, in ActOnTemplatedFriendTag() 12546 return ActOnTag(S, TagSpec, TUK_Friend, TagLoc, SS, Name, NameLoc, in ActOnTemplatedFriendTag()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 1501 TUK = Sema::TUK_Friend; in ParseClassSpecifier() 1540 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseClassSpecifier() 1635 (TUK == Sema::TUK_Friend && in ParseClassSpecifier() 1662 assert((TUK == Sema::TUK_Definition || TUK == Sema::TUK_Friend) && in ParseClassSpecifier() 1665 if (TUK == Sema::TUK_Friend) { in ParseClassSpecifier() 1710 } else if (TUK == Sema::TUK_Friend && in ParseClassSpecifier() 1760 assert(TUK == Sema::TUK_Reference || TUK == Sema::TUK_Friend); in ParseClassSpecifier()
|
D | ParseDecl.cpp | 4013 TUK = Sema::TUK_Friend; in ParseEnumSpecifier() 4021 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseEnumSpecifier()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1947 TUK_Friend // Friend declaration: 'friend struct foo;' enumerator
|