Home
last modified time | relevance | path

Searched refs:getFriendObjectKind (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclFriend.cpp49 assert(D->getFriendObjectKind() || in Create()
H A DDeclBase.cpp290 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()
H A DDecl.cpp3173 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()
H A DASTImporter.cpp314 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()
H A DTextNodeDumper.cpp326 switch (D->getFriendObjectKind()) { in Visit()
H A DDeclCXX.cpp757 if (D->getFriendObjectKind() || D->isInvalidDecl()) in addedMember()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp471 if (D->getFriendObjectKind() && in needsAnonymousDeclarationNumber()
H A DASTWriter.cpp6818 if (isa<NamespaceDecl>(DC) && D->getFriendObjectKind() == Decl::FOK_None && in AddedVisibleDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp59 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 …]
H A DSemaTemplateInstantiate.cpp295 (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()
H A DSemaDecl.cpp1604 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 …]
H A DSemaAccess.cpp125 if (Function->getFriendObjectKind()) in EffectiveContext()
H A DSemaTemplate.cpp1733 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()
H A DSemaConcept.cpp1049 assert(FD->getFriendObjectKind() && "Must be a friend!"); in FriendConstraintsDependOnEnclosingTemplate()
H A DSemaTemplateDeduction.cpp3864 if (FunctionTemplate->getFriendObjectKind()) in FinishTemplateArgumentDeduction()
3877 if (FD->getFriendObjectKind() == Decl::FriendObjectKind::FOK_None && in FinishTemplateArgumentDeduction()
3879 FDFriend->getFriendObjectKind() != Decl::FriendObjectKind::FOK_None) { in FinishTemplateArgumentDeduction()
H A DSemaDeclCXX.cpp574 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()
H A DSemaLookup.cpp3870 } else if (D->getFriendObjectKind()) { in ArgumentDependentLookup()
H A DSemaOverload.cpp1202 !New->getFriendObjectKind(); in CheckOverload()
1266 if (New->getFriendObjectKind() && New->getQualifier() && in CheckOverload()
H A DSemaCodeComplete.cpp803 if (ND->getFriendObjectKind() == Decl::FOK_Undeclared) in isInterestingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1215 FriendObjectKind getFriendObjectKind() const { in getFriendObjectKind() function