Home
last modified time | relevance | path

Searched refs:TUK_Friend (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplate.cpp881 (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 …]
DSemaDecl.cpp12290 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 …]
DSemaDeclCXX.cpp12514 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/
DParseDeclCXX.cpp1501 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()
DParseDecl.cpp4013 TUK = Sema::TUK_Friend; in ParseEnumSpecifier()
4021 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseEnumSpecifier()
/external/clang/include/clang/Sema/
DSema.h1947 TUK_Friend // Friend declaration: 'friend struct foo;' enumerator