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.h137 NamedDecl *getFriendDecl() const { in getFriendDecl() function
148 if (NamedDecl *ND = getFriendDecl()) { in getSourceRange()
H A DASTNodeTraverser.h751 Visit(D->getFriendDecl()); in VisitFriendDecl()
H A DRecursiveASTVisitor.h1605 TRY_TO(TraverseDecl(D->getFriendDecl()));
1613 TRY_TO(TraverseDecl(D->getFriendDecl()));
H A DDeclTemplate.h2481 NamedDecl *getFriendDecl() const {
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h78 LexicalD = FD->getFriendDecl(); in numberAnonymousDeclsWithin()
H A DASTWriterDecl.cpp1655 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendDecl()
1671 Record.push_back(D->getFriendDecl() != nullptr); in VisitFriendTemplateDecl()
1672 if (D->getFriendDecl()) in VisitFriendTemplateDecl()
1673 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendTemplateDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp2110 if ((D1->getFriendType() && D2->getFriendDecl()) || in IsStructurallyEquivalent()
2111 (D1->getFriendDecl() && D2->getFriendType())) { in IsStructurallyEquivalent()
2118 if (D1->getFriendDecl() && D2->getFriendDecl()) in IsStructurallyEquivalent()
2119 return IsStructurallyEquivalent(Context, D1->getFriendDecl(), in IsStructurallyEquivalent()
2120 D2->getFriendDecl()); in IsStructurallyEquivalent()
H A DDeclPrinter.cpp874 dyn_cast<FunctionDecl>(D->getFriendDecl())) { in VisitFriendDecl()
879 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
884 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
H A DODRDiagsEmitter.cpp1285 const NamedDecl *FirstND = FirstFriend->getFriendDecl(); in diagnoseMismatch()
1286 const NamedDecl *SecondND = SecondFriend->getFriendDecl(); in diagnoseMismatch()
H A DODRHash.cpp462 AddDecl(D->getFriendDecl()); in VisitFriendDecl()
H A DASTImporter.cpp4353 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.cpp573 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
H A DSema.cpp1069 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
H A DSemaDeclCXX.cpp6091 D = FD->getFriendDecl(); in CheckAbstractClassUsage()
7117 dyn_cast_or_null<FunctionDecl>(F->getFriendDecl())); in CheckCompletedCXXClass()
8863 F->getFriendDecl()->getCanonicalDecl(); in CheckExplicitlyDefaultedComparison()
10477 FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Friend->getFriendDecl()); in findImplicitlyDeclaredEqualityComparisons()
H A DSemaTemplateInstantiateDecl.cpp1459 NamedDecl *ND = D->getFriendDecl(); in VisitFriendDecl()