Home
last modified time | relevance | path

Searched refs:FriendD (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAccess.cpp555 FriendDecl *FriendD) { in MatchesFriend() argument
558 if (FriendD->isInvalidDecl() || FriendD->isUnsupportedFriend()) in MatchesFriend()
561 if (TypeSourceInfo *T = FriendD->getFriendType()) in MatchesFriend()
565 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl()); in MatchesFriend()
H A DSema.cpp987 if (CXXRecordDecl *FriendD = TSI->getType()->getAsCXXRecordDecl()) in IsRecordFullyDefined() local
988 Complete = MethodsAndNestedClassesComplete(FriendD, MNCComplete); in IsRecordFullyDefined()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp5062 auto *FriendD = FirstDeclMatcher<FriendDecl>().match(ToTU, friendDecl()); in TEST_P() local
5063 const RecordDecl *RD = getRecordDeclOfFriend(FriendD); in TEST_P()
5088 auto *FriendD = FirstDeclMatcher<FriendDecl>().match(ToTU, friendDecl()); in TEST_P() local
5089 const RecordDecl *RD = getRecordDeclOfFriend(FriendD); in TEST_P()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp3948 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl() local
3950 if (Error Err = importInto(ToFriendD, FriendD)) in VisitFriendDecl()
3953 if (FriendD->getFriendObjectKind() != Decl::FOK_None && in VisitFriendDecl()
3954 !(FriendD->isInIdentifierNamespace(Decl::IDNS_NonMemberOperator))) in VisitFriendDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp1300 if (NamedDecl *FriendD = D->getFriendDecl()) { in VisitFriendDecl() local
1301 if (Visit(MakeCXCursor(FriendD, TU, RegionOfInterest))) in VisitFriendDecl()