Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplate.cpp879 (SS.isEmpty() && TUK == TUK_Friend) in CheckClassTemplate()
888 if (TUK != TUK_Friend) in CheckClassTemplate()
904 } else if (TUK != TUK_Friend && TUK != TUK_Reference) in CheckClassTemplate()
940 if (TUK == TUK_Friend) { in CheckClassTemplate()
985 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1037 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) && in CheckClassTemplate()
1044 : TUK == TUK_Friend ? TPC_FriendClassTemplate in CheckClassTemplate()
1052 Diag(NameLoc, TUK == TUK_Friend ? diag::err_friend_decl_does_not_match in CheckClassTemplate()
1099 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()
1117 if (TUK != TUK_Friend) in CheckClassTemplate()
[all …]
DSemaDecl.cpp10063 KWLoc, NameLoc, SS, TemplateParameterLists, TUK == TUK_Friend, in ActOnTag()
10129 if (TUK == TUK_Friend || TUK == TUK_Reference) in ActOnTag()
10145 if (TUK == TUK_Friend || TUK == TUK_Reference) { in ActOnTag()
10178 (TUK == TUK_Reference || TUK == TUK_Friend)) { in ActOnTag()
10220 if (!Previous.empty() && TUK == TUK_Friend) { in ActOnTag()
10280 (TUK == TUK_Reference || TUK == TUK_Friend)) { in ActOnTag()
10325 assert(TUK == TUK_Friend); in ActOnTag()
10373 if (TUK == TUK_Reference || TUK == TUK_Friend || in ActOnTag()
10407 if (TUK == TUK_Reference || TUK == TUK_Friend) { in ActOnTag()
10447 getLangOpts().MicrosoftExt)) || TUK == TUK_Friend) in ActOnTag()
[all …]
DSemaDeclCXX.cpp11035 return CheckClassTemplate(S, TagSpec, TUK_Friend, TagLoc, in ActOnTemplatedFriendTag()
11068 return ActOnTag(S, TagSpec, TUK_Friend, TagLoc, SS, Name, NameLoc, in ActOnTemplatedFriendTag()
/external/clang/lib/Parse/
DParseDeclCXX.cpp1330 TUK = Sema::TUK_Friend; in ParseClassSpecifier()
1369 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseClassSpecifier()
1456 (TUK == Sema::TUK_Friend && in ParseClassSpecifier()
1483 assert((TUK == Sema::TUK_Definition || TUK == Sema::TUK_Friend) && in ParseClassSpecifier()
1486 if (TUK == Sema::TUK_Friend) { in ParseClassSpecifier()
1540 } else if (TUK == Sema::TUK_Friend && in ParseClassSpecifier()
1585 assert(TUK == Sema::TUK_Reference || TUK == Sema::TUK_Friend); in ParseClassSpecifier()
DParseDecl.cpp3590 TUK = Sema::TUK_Friend; in ParseEnumSpecifier()
3598 TUK = DS.isFriendSpecified() ? Sema::TUK_Friend : Sema::TUK_Declaration; in ParseEnumSpecifier()
/external/clang/include/clang/Sema/
DSema.h1636 TUK_Friend // Friend declaration: 'friend struct foo;' enumerator