Home
last modified time | relevance | path

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

/external/clang/unittests/AST/
DSourceLocationTest.cpp310 TEST(FriendDecl, FriendNonMemberFunctionLocation) { in TEST() argument
311 LocationVerifier<FriendDecl> Verifier; in TEST()
319 TEST(FriendDecl, FriendNonMemberFunctionRange) { in TEST() argument
320 RangeVerifier<FriendDecl> Verifier; in TEST()
328 TEST(FriendDecl, FriendNonMemberFunctionDefinitionLocation) { in TEST() argument
329 LocationVerifier<FriendDecl> Verifier; in TEST()
337 TEST(FriendDecl, FriendNonMemberFunctionDefinitionRange) { in TEST() argument
338 RangeVerifier<FriendDecl> Verifier; in TEST()
346 TEST(FriendDecl, FriendElaboratedTypeLocation) { in TEST() argument
347 LocationVerifier<FriendDecl> Verifier; in TEST()
[all …]
/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.cpp65 void VisitFriendDecl(FriendDecl *D);
653 void DeclPrinter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
DASTDumper.cpp466 void VisitFriendDecl(const FriendDecl *D);
1426 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,
178 FriendDecl *Ptr;
181 explicit friend_iterator(FriendDecl *Ptr) : Ptr(Ptr) {} in friend_iterator()
[all …]
DDeclCXX.h42 class FriendDecl; variable
637 FriendDecl *getFirstFriend() const;
791 void pushFriendDecl(FriendDecl *FD);
DRecursiveASTVisitor.h1275 DEF_TRAVERSE_DECL(FriendDecl, {
/external/clang/lib/Serialization/
DASTCommon.h97 if (auto *FD = dyn_cast<FriendDecl>(LexicalD)) in numberAnonymousDeclsWithin()
DASTWriterDecl.cpp106 void VisitFriendDecl(FriendDecl *D);
1236 void ASTDeclWriter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
DASTReaderDecl.cpp307 void VisitFriendDecl(FriendDecl *D);
1745 void ASTDeclReader::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
3180 D = FriendDecl::CreateDeserialized(Context, ID, Record[Idx++]); in ReadDeclRecord()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp710 Decl *TemplateDeclInstantiator::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
728 FriendDecl *FD = SemaRef.CheckFriendTypeDecl(D->getLocStart(), in VisitFriendDecl()
749 FriendDecl *FD = in VisitFriendDecl()
750 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitFriendDecl()
DSemaDeclCXX.cpp12180 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, in CheckFriendTypeDecl()
12245 return FriendDecl::Create(Context, CurContext, in CheckFriendTypeDecl()
12337 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag()
12361 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag()
12740 FriendDecl *FrD = FriendDecl::Create(Context, CurContext, in ActOnFriendFunctionDecl()
DSemaAccess.cpp547 FriendDecl *FriendD) { in MatchesFriend()
DSemaTemplate.cpp1168 FriendDecl *Friend = FriendDecl::Create( in CheckClassTemplate()
6523 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in ActOnClassTemplateSpecialization()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h866 const internal::VariadicDynCastAllOfMatcher<Decl, FriendDecl> friendDecl;
/external/clang/include/clang/Sema/
DSema.h113 class FriendDecl; variable
5328 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
/external/clang/tools/libclang/
DCIndex.cpp5405 if (NamedDecl *Friend = cast<FriendDecl>(D)->getFriendDecl()) in clang_getCursorDefinition()