Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclFriend.cpp20 void FriendDecl::anchor() { } in anchor()
22 FriendDecl *FriendDecl::getNextFriendSlowCase() { in getNextFriendSlowCase()
23 return cast_or_null<FriendDecl>( in getNextFriendSlowCase()
27 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, in Create()
50 FriendDecl *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, in Create()
56 FriendDecl *FriendDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
59 return new (C, ID, Extra) FriendDecl(EmptyShell(), FriendTypeNumTPLists); in CreateDeserialized()
62 FriendDecl *CXXRecordDecl::getFirstFriend() const { in getFirstFriend()
65 return First ? cast<FriendDecl>(First) : nullptr; in getFirstFriend()
DDeclPrinter.cpp56 void VisitFriendDecl(FriendDecl *D);
596 void DeclPrinter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
DASTDumper.cpp286 void VisitFriendDecl(const FriendDecl *D);
1270 void ASTDumper::VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
/external/clang/include/clang/AST/
DDeclFriend.h40 class FriendDecl : public Decl {
76 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, in FriendDecl() function
89 FriendDecl(EmptyShell Empty, unsigned NumFriendTypeTPLists) in FriendDecl() function
93 FriendDecl *getNextFriend() { in getNextFriend()
95 return cast_or_null<FriendDecl>(NextFriend.get(nullptr)); in getNextFriend()
98 FriendDecl *getNextFriendSlowCase();
101 static FriendDecl *Create(ASTContext &C, DeclContext *DC,
106 static FriendDecl *CreateDeserialized(ASTContext &C, unsigned ID,
174 FriendDecl *Ptr;
177 explicit friend_iterator(FriendDecl *Ptr) : Ptr(Ptr) {} in friend_iterator()
[all …]
DDeclCXX.h42 class FriendDecl; variable
631 FriendDecl *getFirstFriend() const;
785 void pushFriendDecl(FriendDecl *FD);
DDataRecursiveASTVisitor.h1236 DEF_TRAVERSE_DECL(FriendDecl, {
DRecursiveASTVisitor.h1301 DEF_TRAVERSE_DECL(FriendDecl, {
/external/clang/unittests/AST/
DSourceLocationTest.cpp266 TEST(FriendDecl, FriendFunctionLocation) { in TEST() argument
267 LocationVerifier<FriendDecl> Verifier; in TEST()
275 TEST(FriendDecl, FriendFunctionRange) { in TEST() argument
276 RangeVerifier<FriendDecl> Verifier; in TEST()
284 TEST(FriendDecl, FriendClassLocation) { in TEST() argument
285 LocationVerifier<FriendDecl> Verifier; in TEST()
293 TEST(FriendDecl, FriendClassRange) { in TEST() argument
294 RangeVerifier<FriendDecl> Verifier; in TEST()
302 TEST(FriendDecl, FriendTemplateParameterLocation) { in TEST() argument
303 LocationVerifier<FriendDecl> Verifier; in TEST()
[all …]
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp593 Decl *TemplateDeclInstantiator::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
611 FriendDecl *FD = SemaRef.CheckFriendTypeDecl(D->getLocStart(), in VisitFriendDecl()
632 FriendDecl *FD = in VisitFriendDecl()
633 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitFriendDecl()
DSemaDeclCXX.cpp11536 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, in CheckFriendTypeDecl()
11601 return FriendDecl::Create(Context, CurContext, in CheckFriendTypeDecl()
11694 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag()
11718 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag()
12082 FriendDecl *FrD = FriendDecl::Create(Context, CurContext, in ActOnFriendFunctionDecl()
DSemaAccess.cpp542 FriendDecl *FriendD) { in MatchesFriend()
DSemaTemplate.cpp1126 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in CheckClassTemplate()
6302 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in ActOnClassTemplateSpecialization()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp106 void VisitFriendDecl(FriendDecl *D);
1082 void ASTDeclWriter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
DASTReaderDecl.cpp294 void VisitFriendDecl(FriendDecl *D);
1539 void ASTDeclReader::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
2682 D = FriendDecl::CreateDeserialized(Context, ID, Record[Idx++]); in ReadDeclRecord()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h605 const internal::VariadicDynCastAllOfMatcher<Decl, FriendDecl> friendDecl;
/external/clang/include/clang/Sema/
DSema.h112 class FriendDecl; variable
4950 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
/external/clang/tools/libclang/
DCIndex.cpp4889 if (NamedDecl *Friend = cast<FriendDecl>(D)->getFriendDecl()) in clang_getCursorDefinition()