Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclFriend.h138 NamedDecl *getFriendDecl() const { in getFriendDecl() function
149 if (NamedDecl *ND = getFriendDecl()) { in getSourceRange()
H A DASTNodeTraverser.h635 Visit(D->getFriendDecl()); in VisitFriendDecl()
H A DRecursiveASTVisitor.h1457 TRY_TO(TraverseDecl(D->getFriendDecl()));
1464 TRY_TO(TraverseDecl(D->getFriendDecl()));
H A DDeclTemplate.h2487 NamedDecl *getFriendDecl() const {
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h102 LexicalD = FD->getFriendDecl(); in numberAnonymousDeclsWithin()
H A DASTWriterDecl.cpp1470 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendDecl()
1486 Record.push_back(D->getFriendDecl() != nullptr); in VisitFriendTemplateDecl()
1487 if (D->getFriendDecl()) in VisitFriendTemplateDecl()
1488 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendTemplateDecl()
H A DASTReader.cpp10831 NamedDecl *FirstND = FirstFriend->getFriendDecl(); in diagnoseOdrViolations()
10832 NamedDecl *SecondND = SecondFriend->getFriendDecl(); in diagnoseOdrViolations()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1819 if ((D1->getFriendType() && D2->getFriendDecl()) || in IsStructurallyEquivalent()
1820 (D1->getFriendDecl() && D2->getFriendType())) { in IsStructurallyEquivalent()
1827 if (D1->getFriendDecl() && D2->getFriendDecl()) in IsStructurallyEquivalent()
1828 return IsStructurallyEquivalent(Context, D1->getFriendDecl(), in IsStructurallyEquivalent()
1829 D2->getFriendDecl()); in IsStructurallyEquivalent()
H A DDeclPrinter.cpp811 dyn_cast<FunctionDecl>(D->getFriendDecl())) { in VisitFriendDecl()
816 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
821 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
H A DODRHash.cpp369 AddDecl(D->getFriendDecl()); in VisitFriendDecl()
H A DASTImporter.cpp3832 } else if (!FoundFriend->getFriendDecl() == !FD->getFriendDecl() && in getFriendCountAndPosition()
3852 if (Decl *D = F->getFriendDecl()) in getFriendCountAndPosition()
3873 if (D->getFriendDecl() && ImportedFriend->getFriendDecl()) { in VisitFriendDecl()
3875 IsStructuralMatch(D->getFriendDecl(), ImportedFriend->getFriendDecl(), in VisitFriendDecl()
3898 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp705 if (auto ND = D->getFriendDecl()) { in VisitFriendDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp565 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
H A DSema.cpp972 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
H A DSemaTemplateInstantiateDecl.cpp1316 NamedDecl *ND = D->getFriendDecl(); in VisitFriendDecl()
H A DSemaDeclCXX.cpp6881 dyn_cast_or_null<FunctionDecl>(F->getFriendDecl())); in CheckCompletedCXXClass()
9960 FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Friend->getFriendDecl()); in findImplicitlyDeclaredEqualityComparisons()