Home
last modified time | relevance | path

Searched refs:getFriendDecl (Results 1 – 17 of 17) 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.h660 Visit(D->getFriendDecl()); in VisitFriendDecl()
H A DRecursiveASTVisitor.h1550 TRY_TO(TraverseDecl(D->getFriendDecl()));
1558 TRY_TO(TraverseDecl(D->getFriendDecl()));
H A DDeclTemplate.h2489 NamedDecl *getFriendDecl() const {
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h102 LexicalD = FD->getFriendDecl(); in numberAnonymousDeclsWithin()
H A DASTWriterDecl.cpp1612 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendDecl()
1628 Record.push_back(D->getFriendDecl() != nullptr); in VisitFriendTemplateDecl()
1629 if (D->getFriendDecl()) in VisitFriendTemplateDecl()
1630 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendTemplateDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp2073 if ((D1->getFriendType() && D2->getFriendDecl()) || in IsStructurallyEquivalent()
2074 (D1->getFriendDecl() && D2->getFriendType())) { in IsStructurallyEquivalent()
2081 if (D1->getFriendDecl() && D2->getFriendDecl()) in IsStructurallyEquivalent()
2082 return IsStructurallyEquivalent(Context, D1->getFriendDecl(), in IsStructurallyEquivalent()
2083 D2->getFriendDecl()); in IsStructurallyEquivalent()
H A DDeclPrinter.cpp915 dyn_cast<FunctionDecl>(D->getFriendDecl())) { in VisitFriendDecl()
920 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
925 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.cpp455 AddDecl(D->getFriendDecl()); in VisitFriendDecl()
H A DType.cpp2714 if (NamedDecl *ND = Friend->getFriendDecl()) { in HasNonDeletedDefaultedEqualityComparison()
H A DASTImporter.cpp4273 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp744 if (auto ND = D->getFriendDecl()) { in VisitFriendDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp575 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
H A DSema.cpp1009 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
H A DSemaDeclCXX.cpp6234 D = FD->getFriendDecl(); in CheckAbstractClassUsage()
7238 dyn_cast_or_null<FunctionDecl>(F->getFriendDecl())); in CheckCompletedCXXClass()
8965 F->getFriendDecl()->getCanonicalDecl(); in CheckExplicitlyDefaultedComparison()
10538 FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Friend->getFriendDecl()); in findImplicitlyDeclaredEqualityComparisons()
H A DSemaTemplateInstantiateDecl.cpp1421 NamedDecl *ND = D->getFriendDecl(); in VisitFriendDecl()