Home | History | Annotate | Download | only in Sema

Lines Matching defs:Friend

871   // Find any previous declaration with this name. For a friend with no
883 // in the AST, and historically we have just ignored such friend
940 // declared as a friend, and when the name of the friend class or
980 // for a friend in a dependent context: the template parameter list itself
1032 // template declaration. Skip this check for a friend in a dependent
1124 // Friend templates are visible in fairly strange ways.
1133 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
1137 Friend->setAccess(AS_public);
1138 CurContext->addDecl(Friend);
1170 // If a friend function template declaration specifies a default
1192 // friend template declaration.
1198 // for friend function templates if there is only a single
1590 /// matching template parameters to scope specifiers in friend
1837 // In friend declarations we can have template-ids which don't
5240 // friend declarations.
5393 // referencing this specialization as a friend, reuse that
5495 // this explicit specialization or friend declaration.
5546 // If this is not a friend, note that this is an explicit specialization.
5607 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
5611 Friend->setAccess(AS_public);
5612 CurContext->addDecl(Friend);
5866 /// is with a friend declaration, like so:
5871 /// friend void foo<>(T);
6015 // If this is a friend declaration, then we're not really declaring
6141 // If this is a friend, just bail out here before we start turning