Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplate.cpp866 (SS.isEmpty() && TUK == TUK_Friend) in CheckClassTemplate()
875 Diag(NameLoc, TUK == TUK_Friend in CheckClassTemplate()
879 return TUK != TUK_Friend; in CheckClassTemplate()
892 } else if (TUK != TUK_Friend && TUK != TUK_Reference) in CheckClassTemplate()
903 if (TUK != TUK_Friend && in CheckClassTemplate()
938 if (TUK == TUK_Friend) { in CheckClassTemplate()
999 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1064 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1072 : TUK == TUK_Friend ? TPC_FriendClassTemplate in CheckClassTemplate()
1080 Diag(NameLoc, TUK == TUK_Friend ? diag::err_friend_decl_does_not_match in CheckClassTemplate()
[all …]
DSemaDecl.cpp11850 TUK == TUK_Friend, isExplicitSpecialization, Invalid)) { in ActOnTag()
11922 if (TUK == TUK_Friend || TUK == TUK_Reference) in ActOnTag()
11937 if (TUK == TUK_Friend || TUK == TUK_Reference) { in ActOnTag()
11970 (TUK == TUK_Reference || TUK == TUK_Friend)) { in ActOnTag()
11987 if (TUK != TUK_Reference && TUK != TUK_Friend && in ActOnTag()
12024 if (!Previous.empty() && TUK == TUK_Friend) { in ActOnTag()
12090 (TUK == TUK_Reference || TUK == TUK_Friend)) { in ActOnTag()
12134 assert(TUK == TUK_Friend); in ActOnTag()
12195 if (SS.isEmpty() && TUK != TUK_Reference && TUK != TUK_Friend && in ActOnTag()
12214 if (TUK == TUK_Reference || TUK == TUK_Friend || in ActOnTag()
[all …]
DSemaDeclCXX.cpp12273 return CheckClassTemplate(S, TagSpec, TUK_Friend, TagLoc, SS, Name, in ActOnTemplatedFriendTag()
12305 return ActOnTag(S, TagSpec, TUK_Friend, TagLoc, SS, Name, NameLoc, in ActOnTemplatedFriendTag()
/external/clang/lib/Parse/
DParseDeclCXX.cpp1486 TUK = Sema::TUK_Friend; in ParseClassSpecifier()
1525 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseClassSpecifier()
1620 (TUK == Sema::TUK_Friend && in ParseClassSpecifier()
1647 assert((TUK == Sema::TUK_Definition || TUK == Sema::TUK_Friend) && in ParseClassSpecifier()
1650 if (TUK == Sema::TUK_Friend) { in ParseClassSpecifier()
1695 } else if (TUK == Sema::TUK_Friend && in ParseClassSpecifier()
1745 assert(TUK == Sema::TUK_Reference || TUK == Sema::TUK_Friend); in ParseClassSpecifier()
DParseDecl.cpp3924 TUK = Sema::TUK_Friend; in ParseEnumSpecifier()
3932 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseEnumSpecifier()
/external/clang/include/clang/Sema/
DSema.h1887 TUK_Friend // Friend declaration: 'friend struct foo;' enumerator