Lines Matching refs:isFriend
931 bool isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitClassTemplateDecl() local
957 if (!isFriend && getPreviousDeclForInstantiation(Pattern)) { in VisitClassTemplateDecl()
971 if (isFriend) { in VisitClassTemplateDecl()
1012 if (isFriend && Pattern->getIdentifier() && in VisitClassTemplateDecl()
1064 if (isFriend) { in VisitClassTemplateDecl()
1084 if (isFriend) { in VisitClassTemplateDecl()
1250 bool isFriend = (InstTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionTemplateDecl() local
1255 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1259 if (!isFriend) { in VisitFunctionTemplateDecl()
1393 bool isFriend; in VisitFunctionDecl() local
1395 isFriend = (FunctionTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionDecl()
1397 isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionDecl()
1426 } else if (isFriend && QualifierLoc) { in VisitFunctionDecl()
1454 if (!isFriend && D->isOutOfLine() && !D->isLocalExternDecl()) { in VisitFunctionDecl()
1491 if (isFriend && D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
1505 } else if (isFriend) { in VisitFunctionDecl()
1528 assert(isFriend && "non-friend has dependent specialization info?"); in VisitFunctionDecl()
1580 if (isFriend) { in VisitFunctionDecl()
1670 bool isFriend; in VisitCXXMethodDecl() local
1672 isFriend = (FunctionTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitCXXMethodDecl()
1674 isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitCXXMethodDecl()
1684 if (isFriend && (NumTempParamLists = D->getNumTemplateParameterLists())) { in VisitCXXMethodDecl()
1710 if (isFriend) { in VisitCXXMethodDecl()
1813 if (isFriend) { in VisitCXXMethodDecl()
1827 } else if (!isFriend) { in VisitCXXMethodDecl()
1835 if (isFriend) { in VisitCXXMethodDecl()
1857 if (!FunctionTemplate || TemplateParams || isFriend) { in VisitCXXMethodDecl()
1877 if (isFriend && Method->getPreviousDecl()) in VisitCXXMethodDecl()
1901 } else if (isFriend) { in VisitCXXMethodDecl()