Home
last modified time | relevance | path

Searched refs:getFriendDecl (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclFriend.h139 NamedDecl *getFriendDecl() const { in getFriendDecl() function
165 if (NamedDecl *ND = getFriendDecl()) { in getSourceRange()
H A DASTNodeTraverser.h787 Visit(D->getFriendDecl()); in VisitFriendDecl()
H A DRecursiveASTVisitor.h1635 TRY_TO(TraverseDecl(D->getFriendDecl()));
1643 TRY_TO(TraverseDecl(D->getFriendDecl()));
H A DDeclTemplate.h2508 NamedDecl *getFriendDecl() const {
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h78 LexicalD = FD->getFriendDecl(); in numberAnonymousDeclsWithin()
H A DASTWriterDecl.cpp1837 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendDecl()
1854 Record.push_back(D->getFriendDecl() != nullptr); in VisitFriendTemplateDecl()
1855 if (D->getFriendDecl()) in VisitFriendTemplateDecl()
1856 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendTemplateDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp2379 if ((D1->getFriendType() && D2->getFriendDecl()) || in IsStructurallyEquivalent()
2380 (D1->getFriendDecl() && D2->getFriendType())) { in IsStructurallyEquivalent()
2387 if (D1->getFriendDecl() && D2->getFriendDecl()) in IsStructurallyEquivalent()
2388 return IsStructurallyEquivalent(Context, D1->getFriendDecl(), in IsStructurallyEquivalent()
2389 D2->getFriendDecl()); in IsStructurallyEquivalent()
H A DDeclPrinter.cpp906 dyn_cast<FunctionDecl>(D->getFriendDecl())) { in VisitFriendDecl()
911 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
916 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
H A DODRDiagsEmitter.cpp1283 const NamedDecl *FirstND = FirstFriend->getFriendDecl(); in diagnoseMismatch()
1284 const NamedDecl *SecondND = SecondFriend->getFriendDecl(); in diagnoseMismatch()
H A DODRHash.cpp481 AddDecl(D->getFriendDecl()); in VisitFriendDecl()
H A DASTImporter.cpp4623 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp749 if (auto ND = D->getFriendDecl()) { in VisitFriendDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp571 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
H A DSema.cpp1142 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
H A DSemaDeclCXX.cpp6199 D = FD->getFriendDecl(); in CheckAbstractClassUsage()
7232 dyn_cast_or_null<FunctionDecl>(F->getFriendDecl())); in CheckCompletedCXXClass()
9042 return declaresSameEntity(F->getFriendDecl(), FD); in CheckExplicitlyDefaultedComparison()
10697 FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Friend->getFriendDecl()); in findImplicitlyDeclaredEqualityComparisons()
H A DSemaTemplateInstantiateDecl.cpp1960 NamedDecl *ND = D->getFriendDecl(); in VisitFriendDecl()