Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1038 bool isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitClassTemplateDecl() local
1064 if (!isFriend && getPreviousDeclForInstantiation(Pattern)) { in VisitClassTemplateDecl()
1078 if (isFriend) { in VisitClassTemplateDecl()
1119 if (isFriend && Pattern->getIdentifier() && in VisitClassTemplateDecl()
1171 if (isFriend) { in VisitClassTemplateDecl()
1191 if (isFriend) { in VisitClassTemplateDecl()
1357 bool isFriend = (InstTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionTemplateDecl() local
1362 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1366 if (!isFriend) { in VisitFunctionTemplateDecl()
1500 bool isFriend; in VisitFunctionDecl() local
[all …]
DSemaDecl.cpp2988 bool isFriend = NewMethod->getFriendObjectKind(); in MergeFunctionDecl() local
2990 if (!isFriend && NewMethod->getLexicalDeclContext()->isRecord() && in MergeFunctionDecl()
3030 if (isFriend) { in MergeFunctionDecl()
3038 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl()
7462 bool isFriend = in CreateNewFunctionDecl() local
7464 if (!isFriend && SemaRef.CurContext->isRecord()) in CreateNewFunctionDecl()
7680 bool isFriend = false; in ActOnFunctionDeclarator() local
7715 isFriend = D.getDeclSpec().isFriendSpecified(); in ActOnFunctionDeclarator()
7716 if (isFriend && !isInline && D.isFunctionDefinition()) { in ActOnFunctionDeclarator()
7753 TemplateParamLists, isFriend, isExplicitSpecialization, in ActOnFunctionDeclarator()
[all …]
DSemaTemplate.cpp6977 bool isFriend = (FD->getFriendObjectKind() != Decl::FOK_None); in CheckFunctionTemplateSpecialization() local
6980 if (!isFriend && in CheckFunctionTemplateSpecialization()
6994 if (!isFriend && in CheckFunctionTemplateSpecialization()
7005 if (!isFriend) { in CheckFunctionTemplateSpecialization()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1417 bool isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitClassTemplateDecl() local
1443 if (!isFriend && getPreviousDeclForInstantiation(Pattern)) { in VisitClassTemplateDecl()
1457 if (isFriend) { in VisitClassTemplateDecl()
1499 if (isFriend && Pattern->getIdentifier() && in VisitClassTemplateDecl()
1550 assert(!(isFriend && Owner->isDependentContext())); in VisitClassTemplateDecl()
1555 if (isFriend) { in VisitClassTemplateDecl()
1575 if (isFriend) { in VisitClassTemplateDecl()
1741 bool isFriend = (InstTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionTemplateDecl() local
1746 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl()
1750 if (!isFriend) { in VisitFunctionTemplateDecl()
[all …]
DSemaDecl.cpp3538 bool isFriend = NewMethod->getFriendObjectKind(); in MergeFunctionDecl() local
3540 if (!isFriend && NewMethod->getLexicalDeclContext()->isRecord() && in MergeFunctionDecl()
3580 if (isFriend) { in MergeFunctionDecl()
3588 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl()
8558 bool isFriend = in CreateNewFunctionDecl() local
8560 if (!isFriend && SemaRef.CurContext->isRecord()) in CreateNewFunctionDecl()
8893 bool isFriend = false; in ActOnFunctionDeclarator() local
8926 isFriend = D.getDeclSpec().isFriendSpecified(); in ActOnFunctionDeclarator()
8927 if (isFriend && !isInline && D.isFunctionDefinition()) { in ActOnFunctionDeclarator()
8964 TemplateParamLists, isFriend, isMemberSpecialization, in ActOnFunctionDeclarator()
[all …]
DSemaTemplate.cpp9110 bool isFriend = (FD->getFriendObjectKind() != Decl::FOK_None); in CheckFunctionTemplateSpecialization() local
9113 if (!isFriend && in CheckFunctionTemplateSpecialization()
9127 if (!isFriend && in CheckFunctionTemplateSpecialization()
9138 if (!isFriend) { in CheckFunctionTemplateSpecialization()