Searched refs:getFriendObjectKind (Results 1 – 20 of 20) sorted by relevance
49 assert(D->getFriendObjectKind() || in Create()
290 auto *DC = getFriendObjectKind() || isLocalExternDecl() in isTemplated()313 getFriendObjectKind() ? getLexicalDeclContext() : getDeclContext(); in getTemplateDepth()1352 if (cast<Decl>(this)->getFriendObjectKind()) in isDependentContext()1657 if ((D->isLocalExternDecl() || D->getFriendObjectKind()) && in shouldBeHidden()
3173 if (!getFriendObjectKind()) in isThisDeclarationInstantiatedFromAFriendDefinition()3180 return InstantiatedFrom->getFriendObjectKind() && in isThisDeclarationInstantiatedFromAFriendDefinition()3188 return InstantiatedFrom->getFriendObjectKind() && in isThisDeclarationInstantiatedFromAFriendDefinition()3536 if (!getFriendObjectKind()) { in isMemberLikeConstrainedFriend()4206 getFriendObjectKind() != FOK_None || in setFunctionTemplateSpecialization()4274 getFriendObjectKind() == FOK_None) in getTemplateSpecializationKind()4318 getFriendObjectKind() == FOK_None) in getTemplateSpecializationKindForInstantiation()
314 FromD->getFriendObjectKind() == Decl::FOK_None) in addDeclToContexts()3028 DCXX->getDescribedClassTemplate()->getFriendObjectKind() != in VisitRecordDecl()4358 if (FriendD->getFriendObjectKind() != Decl::FOK_None && in VisitFriendDecl()6038 return TD->getFriendObjectKind() != Decl::FOK_None && in VisitClassTemplateDecl()6062 (FoundTemplate->getFriendObjectKind() != Decl::FOK_None) != in VisitClassTemplateDecl()6063 (D->getFriendObjectKind() != Decl::FOK_None); in VisitClassTemplateDecl()
326 switch (D->getFriendObjectKind()) { in Visit()
757 if (D->getFriendObjectKind() || D->isInvalidDecl()) in addedMember()
471 if (D->getFriendObjectKind() && in needsAnonymousDeclarationNumber()
6818 if (isa<NamespaceDecl>(DC) && D->getFriendObjectKind() == Decl::FOK_None && in AddedVisibleDecl()
59 assert((NewDecl->getFriendObjectKind() || in SubstQualifier()64 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier()1650 bool isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitClassTemplateDecl()1951 bool isFriend = (InstTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionTemplateDecl()2014 if (D->getFriendObjectKind()) in VisitCXXRecordDecl()2115 isFriend = (FunctionTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionDecl()2117 isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionDecl()2485 isFriend = (FunctionTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitCXXMethodDecl()2487 isFriend = (D->getFriendObjectKind() != Decl::FOK_None); in VisitCXXMethodDecl()4155 assert(Spaceship->getFriendObjectKind() && in SubstSpaceshipAsEqualEqual()[all …]
295 (Function->getFriendObjectKind() && in HandleFunction()296 !Function->getPrimaryTemplate()->getFriendObjectKind()))) in HandleFunction()319 if ((Function->getFriendObjectKind() || Function->isLocalExternDecl()) && in HandleFunction()325 if (ForConstraintInstantiation && Function->getFriendObjectKind()) in HandleFunction()404 bool IsFriend = Rec->getFriendObjectKind() || in HandleRecordDecl()406 Rec->getDescribedClassTemplate()->getFriendObjectKind()); in HandleRecordDecl()3550 if (MD->isConstexpr() && !MD->getFriendObjectKind() && in InstantiateClass()
1604 if (New->getFriendObjectKind() && in CheckRedeclarationModuleOwnership()3541 if (New->getFriendObjectKind()) { in MergeFunctionDecl()3925 bool isFriend = NewMethod->getFriendObjectKind(); in MergeFunctionDecl()4042 if (New->getFriendObjectKind() != Decl::FOK_None) { in MergeFunctionDecl()7034 FD->getFriendObjectKind() == Decl::FOK_Declared; in checkDLLAttributeRedeclaration()8954 NewFD->getFriendObjectKind() ? diag::err_qualified_friend_no_match : in DiagnoseInvalidRedeclaration()10919 (NewD->isLocalExternDecl() || NewD->getFriendObjectKind())) in canFullyTypeCheckRedeclaration()10947 if (D->getFriendObjectKind() && D->getDeclContext()->isFileContext()) in shouldLinkDependentDeclWithPrevious()11460 S.CurContext->isRecord() && !NewFD->getFriendObjectKind(); in CheckMultiVersionAdditionalDecl()12039 if (NewFD->getFriendObjectKind() == Decl::FriendObjectKind::FOK_None || in CheckFunctionDeclaration()[all …]
125 if (Function->getFriendObjectKind()) in EffectiveContext()
1733 assert(Friend->getFriendObjectKind() && "Only works on a friend"); in ConstraintExpressionDependsOnEnclosingTemplate()1788 while (D->getFriendObjectKind() != Decl::FriendObjectKind::FOK_None && in GetTemplateParameterList()8777 bool IsFriend = FD->getFriendObjectKind() != Decl::FOK_None; in CheckDependentFunctionTemplateSpecialization()8976 bool isFriend = (FD->getFriendObjectKind() != Decl::FOK_None); in CheckFunctionTemplateSpecialization()9155 if (Member->getFriendObjectKind() != Decl::FOK_None) { in CheckMemberSpecialization()
1049 assert(FD->getFriendObjectKind() && "Must be a friend!"); in FriendConstraintsDependOnEnclosingTemplate()
3864 if (FunctionTemplate->getFriendObjectKind()) in FinishTemplateArgumentDeduction()3877 if (FD->getFriendObjectKind() == Decl::FriendObjectKind::FOK_None && in FinishTemplateArgumentDeduction()3879 FDFriend->getFriendObjectKind() != Decl::FriendObjectKind::FOK_None) { in FinishTemplateArgumentDeduction()
574 if (New->getFriendObjectKind() == Decl::FOK_None || in MergeCXXFunctionDecl() 673 New->getFriendObjectKind() == Decl::FOK_None)) { in MergeCXXFunctionDecl() 696 if (Old->getFriendObjectKind() == Decl::FOK_Undeclared && in MergeCXXFunctionDecl() 6536 if (FD->getFriendObjectKind() == Decl::FOK_None) in checkClassLevelDLLAttribute() 8852 assert(FD->getFriendObjectKind() && "expected a friend declaration"); in CheckExplicitlyDefaultedComparison() 9106 cast<CXXRecordDecl>(FD->getFriendObjectKind() == Decl::FOK_None in ComputeDefaultedComparisonExceptionSpec() 18328 if (D->getFriendObjectKind()) in ActOnPureSpecifier()
3870 } else if (D->getFriendObjectKind()) { in ArgumentDependentLookup()
1202 !New->getFriendObjectKind(); in CheckOverload()1266 if (New->getFriendObjectKind() && New->getQualifier() && in CheckOverload()
803 if (ND->getFriendObjectKind() == Decl::FOK_Undeclared) in isInterestingDecl()
1215 FriendObjectKind getFriendObjectKind() const { in getFriendObjectKind() function