/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclFriend.cpp | 27 void FriendDecl::anchor() {} in anchor() 29 FriendDecl *FriendDecl::getNextFriendSlowCase() { in getNextFriendSlowCase() 30 return cast_or_null<FriendDecl>( in getNextFriendSlowCase() 34 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, in Create() 57 FriendDecl::additionalSizeToAlloc<TemplateParameterList *>( in Create() 59 auto *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, in Create() 65 FriendDecl *FriendDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID, in CreateDeserialized() 69 return new (C, ID, Extra) FriendDecl(EmptyShell(), FriendTypeNumTPLists); in CreateDeserialized() 72 FriendDecl *CXXRecordDecl::getFirstFriend() const { in getFirstFriend() 75 return First ? cast<FriendDecl>(First) : nullptr; in getFirstFriend()
|
H A D | ASTImporterLookupTable.cpp | 49 bool VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
|
H A D | ODRDiagsEmitter.cpp | 1282 const FriendDecl *FirstFriend = cast<FriendDecl>(FirstDecl); in diagnoseMismatch() 1283 const FriendDecl *SecondFriend = cast<FriendDecl>(SecondDecl); in diagnoseMismatch()
|
H A D | DeclPrinter.cpp | 70 void VisitFriendDecl(FriendDecl *D); 865 void DeclPrinter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
|
H A D | ASTImporter.cpp | 490 ExpectedDecl VisitFriendDecl(FriendDecl *D); 2037 return isa<FieldDecl>(D) || isa<IndirectFieldDecl>(D) || isa<FriendDecl>(D); in ImportDeclContext() 4289 static bool IsEquivalentFriend(ASTImporter &Importer, FriendDecl *FD1, in IsEquivalentFriend() 4290 FriendDecl *FD2) { in IsEquivalentFriend() 4307 FriendDecl *FD) { in getFriendCountAndPosition() 4312 for (FriendDecl *FoundFriend : RD->friends()) { in getFriendCountAndPosition() 4326 ExpectedDecl ASTNodeImporter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl() 4336 SmallVector<FriendDecl *, 2> ImportedEquivalentFriends; in VisitFriendDecl() 4337 for (FriendDecl *ImportedFriend : RD->friends()) in VisitFriendDecl() 4352 FriendDecl::FriendUnion ToFU; in VisitFriendDecl() [all …]
|
H A D | ASTStructuralEquivalence.cpp | 2109 FriendDecl *D1, FriendDecl *D2) { in IsStructurallyEquivalent()
|
H A D | ODRHash.cpp | 456 void VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
|
H A D | JSONNodeDumper.cpp | 1087 void JSONNodeDumper::VisitFriendDecl(const FriendDecl *FD) { in VisitFriendDecl()
|
H A D | TextNodeDumper.cpp | 2694 void TextNodeDumper::VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclFriend.h | 52 class FriendDecl final 54 private llvm::TrailingObjects<FriendDecl, TemplateParameterList *> { 84 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, in FriendDecl() function 93 FriendDecl(EmptyShell Empty, unsigned NumFriendTypeTPLists) in FriendDecl() function 97 FriendDecl *getNextFriend() { in getNextFriend() 99 return cast_or_null<FriendDecl>(NextFriend.get(nullptr)); in getNextFriend() 103 FriendDecl *getNextFriendSlowCase(); 111 static FriendDecl * 115 static FriendDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID, 189 FriendDecl *Ptr; [all …]
|
H A D | TextNodeDumper.h | 393 void VisitFriendDecl(const FriendDecl *D);
|
H A D | JSONNodeDumper.h | 269 void VisitFriendDecl(const FriendDecl *FD);
|
H A D | DeclCXX.h | 67 class FriendDecl; variable 503 FriendDecl *getFirstFriend() const; 699 void pushFriendDecl(FriendDecl *FD);
|
H A D | ASTNodeTraverser.h | 743 void VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
|
H A D | RecursiveASTVisitor.h | 1596 DEF_TRAVERSE_DECL(FriendDecl, {
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.h | 77 if (auto *FD = dyn_cast<FriendDecl>(LexicalD)) in numberAnonymousDeclsWithin()
|
H A D | ASTReaderDecl.cpp | 414 void VisitFriendDecl(FriendDecl *D); 2345 void ASTDeclReader::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl() 3937 D = FriendDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
|
H A D | ASTWriterDecl.cpp | 132 void VisitFriendDecl(FriendDecl *D); 1647 void ASTDeclWriter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 1433 Decl *TemplateDeclInstantiator::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl() 1451 FriendDecl *FD = FriendDecl::Create( in VisitFriendDecl() 1469 FriendDecl *FD = in VisitFriendDecl() 1470 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitFriendDecl() 4164 FriendDecl *FD = in SubstSpaceshipAsEqualEqual() 4165 FriendDecl::Create(Context, RD, Spaceship->getLocation(), in SubstSpaceshipAsEqualEqual()
|
H A D | SemaDeclCXX.cpp | 6090 if (auto *FD = dyn_cast<FriendDecl>(D)) { in CheckAbstractClassUsage() 7115 } else if (auto *F = dyn_cast<FriendDecl>(D)) { in CheckCompletedCXXClass() 8861 if (llvm::none_of(RD->friends(), [&](const FriendDecl *F) { in CheckExplicitlyDefaultedComparison() 10476 for (FriendDecl *Friend : RD->friends()) { in findImplicitlyDeclaredEqualityComparisons() 17471 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag() 17495 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag() 17595 D = FriendDecl::Create(Context, CurContext, TSI->getTypeLoc().getBeginLoc(), in ActOnFriendTypeDecl() 17841 FriendDecl *FrD = FriendDecl::Create(Context, CurContext, in ActOnFriendFunctionDecl()
|
H A D | SemaAccess.cpp | 563 FriendDecl *FriendD) { in MatchesFriend()
|
H A D | SemaTemplate.cpp | 2154 FriendDecl *Friend = FriendDecl::Create( in CheckClassTemplate() 8416 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in ActOnClassTemplateSpecialization()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 748 bool VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 1406 extern const internal::VariadicDynCastAllOfMatcher<Decl, FriendDecl> friendDecl; 3994 AST_POLYMORPHIC_SUPPORTED_TYPES(Expr, FriendDecl, TypedefNameDecl, 4035 AST_POLYMORPHIC_SUPPORTED_TYPES(Expr, FriendDecl, ValueDecl,
|
H A D | ASTMatchersInternal.h | 156 inline QualType getUnderlyingType(const FriendDecl &Node) {
|