Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclFriend.h120 NamedDecl *getFriendDecl() const { in getFriendDecl() function
131 if (NamedDecl *ND = getFriendDecl()) { in getSourceRange()
DRecursiveASTVisitor.h1357 TRY_TO(TraverseDecl(D->getFriendDecl()));
1364 TRY_TO(TraverseDecl(D->getFriendDecl()));
DDeclTemplate.h2192 NamedDecl *getFriendDecl() const {
/external/llvm-project/clang/include/clang/AST/
DDeclFriend.h138 NamedDecl *getFriendDecl() const { in getFriendDecl() function
149 if (NamedDecl *ND = getFriendDecl()) { in getSourceRange()
DASTNodeTraverser.h608 Visit(D->getFriendDecl()); in VisitFriendDecl()
DRecursiveASTVisitor.h1446 TRY_TO(TraverseDecl(D->getFriendDecl()));
1453 TRY_TO(TraverseDecl(D->getFriendDecl()));
DDeclTemplate.h2486 NamedDecl *getFriendDecl() const {
/external/clang/lib/Serialization/
DASTCommon.h100 LexicalD = FD->getFriendDecl(); in numberAnonymousDeclsWithin()
DASTWriterDecl.cpp1287 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendDecl()
1303 Record.push_back(D->getFriendDecl() != nullptr); in VisitFriendTemplateDecl()
1304 if (D->getFriendDecl()) in VisitFriendTemplateDecl()
1305 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendTemplateDecl()
/external/llvm-project/clang/lib/Serialization/
DASTCommon.h102 LexicalD = FD->getFriendDecl(); in numberAnonymousDeclsWithin()
DASTWriterDecl.cpp1452 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendDecl()
1468 Record.push_back(D->getFriendDecl() != nullptr); in VisitFriendTemplateDecl()
1469 if (D->getFriendDecl()) in VisitFriendTemplateDecl()
1470 Record.AddDeclRef(D->getFriendDecl()); in VisitFriendTemplateDecl()
/external/llvm-project/clang/lib/AST/
DASTStructuralEquivalence.cpp1800 if ((D1->getFriendType() && D2->getFriendDecl()) || in IsStructurallyEquivalent()
1801 (D1->getFriendDecl() && D2->getFriendType())) { in IsStructurallyEquivalent()
1808 if (D1->getFriendDecl() && D2->getFriendDecl()) in IsStructurallyEquivalent()
1809 return IsStructurallyEquivalent(Context, D1->getFriendDecl(), in IsStructurallyEquivalent()
1810 D2->getFriendDecl()); in IsStructurallyEquivalent()
DDeclPrinter.cpp796 dyn_cast<FunctionDecl>(D->getFriendDecl())) { in VisitFriendDecl()
801 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
806 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
DODRHash.cpp369 AddDecl(D->getFriendDecl()); in VisitFriendDecl()
DASTImporter.cpp3710 } else if (!FoundFriend->getFriendDecl() == !FD->getFriendDecl() && in getFriendCountAndPosition()
3730 if (Decl *D = F->getFriendDecl()) in getFriendCountAndPosition()
3751 if (D->getFriendDecl() && ImportedFriend->getFriendDecl()) { in VisitFriendDecl()
3753 IsStructuralMatch(D->getFriendDecl(), ImportedFriend->getFriendDecl(), in VisitFriendDecl()
3776 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl()
/external/clang/lib/AST/
DDeclPrinter.cpp670 dyn_cast<FunctionDecl>(D->getFriendDecl())) { in VisitFriendDecl()
675 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
680 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
DASTDumper.cpp1542 dumpDecl(D->getFriendDecl()); in VisitFriendDecl()
/external/clang/lib/Index/
DIndexDecl.cpp390 if (auto ND = D->getFriendDecl()) { in VisitFriendDecl()
/external/llvm-project/clang/lib/Index/
DIndexDecl.cpp705 if (auto ND = D->getFriendDecl()) { in VisitFriendDecl()
/external/clang/lib/Sema/
DSema.cpp624 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
DSemaAccess.cpp552 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp551 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
DSema.cpp885 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp2420 ->getFriendDecl()); in TEST_P()
3679 EXPECT_NE(Friend->getFriendDecl(), Class); in TEST_P()
3680 EXPECT_EQ(Friend->getFriendDecl()->getPreviousDecl(), Class); in TEST_P()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp1294 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl()
6559 if (NamedDecl *Friend = cast<FriendDecl>(D)->getFriendDecl()) in clang_getCursorDefinition()
6564 if (NamedDecl *Friend = cast<FriendTemplateDecl>(D)->getFriendDecl()) in clang_getCursorDefinition()

12