/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 310 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/ |
D | DeclFriend.cpp | 20 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::additionalSizeToAlloc<TemplateParameterList *>( in Create() 52 FriendDecl *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, in Create() 58 FriendDecl *FriendDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 62 return new (C, ID, Extra) FriendDecl(EmptyShell(), FriendTypeNumTPLists); in CreateDeserialized() 65 FriendDecl *CXXRecordDecl::getFirstFriend() const { in getFirstFriend() 68 return First ? cast<FriendDecl>(First) : nullptr; in getFirstFriend()
|
D | DeclPrinter.cpp | 65 void VisitFriendDecl(FriendDecl *D); 661 void DeclPrinter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
|
D | ASTDumper.cpp | 480 void VisitFriendDecl(const FriendDecl *D); 1538 void ASTDumper::VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
|
/external/clang/include/clang/AST/ |
D | DeclFriend.h | 40 class FriendDecl final 42 private llvm::TrailingObjects<FriendDecl, TemplateParameterList *> { 70 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, in FriendDecl() function 83 FriendDecl(EmptyShell Empty, unsigned NumFriendTypeTPLists) in FriendDecl() function 87 FriendDecl *getNextFriend() { in getNextFriend() 89 return cast_or_null<FriendDecl>(NextFriend.get(nullptr)); in getNextFriend() 92 FriendDecl *getNextFriendSlowCase(); 95 static FriendDecl *Create(ASTContext &C, DeclContext *DC, 100 static FriendDecl *CreateDeserialized(ASTContext &C, unsigned ID, 174 FriendDecl *Ptr; [all …]
|
D | DeclCXX.h | 44 class FriendDecl; variable 640 FriendDecl *getFirstFriend() const; 796 void pushFriendDecl(FriendDecl *FD);
|
D | RecursiveASTVisitor.h | 1352 DEF_TRAVERSE_DECL(FriendDecl, {
|
/external/clang/lib/Serialization/ |
D | ASTCommon.h | 99 if (auto *FD = dyn_cast<FriendDecl>(LexicalD)) in numberAnonymousDeclsWithin()
|
D | ASTWriterDecl.cpp | 115 void VisitFriendDecl(FriendDecl *D); 1279 void ASTDeclWriter::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl()
|
D | ASTReaderDecl.cpp | 332 void VisitFriendDecl(FriendDecl *D); 1827 void ASTDeclReader::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl() 3298 D = FriendDecl::CreateDeserialized(Context, ID, Record[Idx++]); in ReadDeclRecord()
|
/external/clang/lib/Index/ |
D | IndexDecl.cpp | 389 bool VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 817 Decl *TemplateDeclInstantiator::VisitFriendDecl(FriendDecl *D) { in VisitFriendDecl() 835 FriendDecl *FD = SemaRef.CheckFriendTypeDecl(D->getLocStart(), in VisitFriendDecl() 856 FriendDecl *FD = in VisitFriendDecl() 857 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitFriendDecl()
|
D | SemaDeclCXX.cpp | 12421 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, in CheckFriendTypeDecl() 12486 return FriendDecl::Create(Context, CurContext, in CheckFriendTypeDecl() 12578 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag() 12602 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, in ActOnTemplatedFriendTag() 12980 FriendDecl *FrD = FriendDecl::Create(Context, CurContext, in ActOnFriendFunctionDecl()
|
D | SemaAccess.cpp | 542 FriendDecl *FriendD) { in MatchesFriend()
|
D | SemaTemplate.cpp | 1185 FriendDecl *Friend = FriendDecl::Create( in CheckClassTemplate() 6562 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, in ActOnClassTemplateSpecialization()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 975 const internal::VariadicDynCastAllOfMatcher<Decl, FriendDecl> friendDecl;
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 114 class FriendDecl; variable 5451 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 5775 if (NamedDecl *Friend = cast<FriendDecl>(D)->getFriendDecl()) in clang_getCursorDefinition()
|