Home
last modified time | relevance | path

Searched refs:FriendDecl (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/AST/
DDeclFriend.h37 class FriendDecl : public Decl {
59 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, in FriendDecl() function
68 explicit FriendDecl(EmptyShell Empty) in FriendDecl() function
71 FriendDecl *getNextFriend() { in getNextFriend()
72 return cast_or_null<FriendDecl>( in getNextFriend()
77 static FriendDecl *Create(ASTContext &C, DeclContext *DC,
80 static FriendDecl *Create(ASTContext &C, EmptyShell Empty);
122 static bool classof(const FriendDecl *D) { return true; } in classof()
131 FriendDecl *Ptr;
134 explicit friend_iterator(FriendDecl *Ptr) : Ptr(Ptr) {} in friend_iterator()
[all …]
DDeclCXX.h38 class FriendDecl; variable
503 FriendDecl *FirstFriend;
687 void pushFriendDecl(FriendDecl *FD);
DRecursiveASTVisitor.h1094 DEF_TRAVERSE_DECL(FriendDecl, {
/external/clang/lib/AST/
DDeclFriend.cpp19 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, in Create()
38 FriendDecl *FD = new (C) FriendDecl(DC, L, Friend, FriendL); in Create()
43 FriendDecl *FriendDecl::Create(ASTContext &C, EmptyShell Empty) { in Create()
44 return new (C) FriendDecl(Empty); in Create()
DDumpXML.cpp720 void visitFriendDeclChildren(FriendDecl *D) { in visitFriendDeclChildren()
/external/clang/include/clang/Sema/
DTemplate.h348 Decl *VisitFriendDecl(FriendDecl *D);
DSema.h88 class FriendDecl; variable
3401 FriendDecl *CheckFriendTypeDecl(SourceLocation FriendLoc,
/external/clang/lib/Serialization/
DASTReaderDecl.cpp134 void VisitFriendDecl(FriendDecl *D);
905 = cast_or_null<FriendDecl>(Reader.GetDecl(Record[Idx++])); in ReadCXXDefinitionData()
1021 void ASTDeclReader::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
1559 D = FriendDecl::Create(*Context, Decl::EmptyShell()); in ReadDeclRecord()
DASTWriterDecl.cpp95 void VisitFriendDecl(FriendDecl *D);
960 void ASTDeclWriter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
/external/clang/lib/Sema/
DSemaAccess.cpp521 FriendDecl *FriendD) { in MatchesFriend()
556 FriendDecl *Friend = *I; in GetFriendKind()
DSemaTemplateInstantiateDecl.cpp540 Decl *TemplateDeclInstantiator::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
558 FriendDecl *FD = SemaRef.CheckFriendTypeDecl(D->getFriendLoc(), InstTy); in VisitFriendDecl()
578 FriendDecl *FD = in VisitFriendDecl()
579 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitFriendDecl()
DSemaDeclCXX.cpp8188 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation FriendLoc, in CheckFriendTypeDecl()
8238 return FriendDecl::Create(Context, CurContext, FriendLoc, TSInfo, FriendLoc); in CheckFriendTypeDecl()
8318 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag()
8336 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag()
8634 FriendDecl *FrD = FriendDecl::Create(Context, CurContext, in ActOnFriendFunctionDecl()
DSemaTemplate.cpp1047 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in CheckClassTemplate()
5090 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in ActOnClassTemplateSpecialization()
/external/clang/tools/libclang/
DCIndex.cpp4120 if (NamedDecl *Friend = cast<FriendDecl>(D)->getFriendDecl()) in clang_getCursorDefinition()