/external/llvm-project/clang/include/clang/AST/ |
D | UnresolvedSet.h | 33 UnresolvedSetIterator, DeclAccessPair *, 40 explicit UnresolvedSetIterator(DeclAccessPair *Iter) in UnresolvedSetIterator() 42 explicit UnresolvedSetIterator(const DeclAccessPair *Iter) in UnresolvedSetIterator() 43 : iterator_adaptor_base(const_cast<DeclAccessPair *>(Iter)) {} in UnresolvedSetIterator() 54 const DeclAccessPair &getPair() const { return *I; } in getPair() 62 using DeclsTy = SmallVectorImpl<DeclAccessPair>; 89 ArrayRef<DeclAccessPair> pairs() const { return decls(); } in pairs() 96 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl() 133 DeclAccessPair &operator[](unsigned I) { return decls()[I]; } 134 const DeclAccessPair &operator[](unsigned I) const { return decls()[I]; } [all …]
|
D | ASTUnresolvedSet.h | 32 struct DeclsTy : ASTVector<DeclAccessPair> { 34 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() 56 Decls.push_back(DeclAccessPair::make(D, AS), C); in addDecl() 87 DeclAccessPair &operator[](unsigned I) { return Decls[I]; } 88 const DeclAccessPair &operator[](unsigned I) const { return Decls[I]; }
|
D | DeclAccessPair.h | 29 class DeclAccessPair { 35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make() 36 DeclAccessPair p; in make()
|
D | ExprCXX.h | 59 class DeclAccessPair; variable 2894 inline DeclAccessPair *getTrailingResults(); 2895 const DeclAccessPair *getTrailingResults() const { in getTrailingResults() 3065 private llvm::TrailingObjects<UnresolvedLookupExpr, DeclAccessPair, 3102 unsigned numTrailingObjects(OverloadToken<DeclAccessPair>) const { in numTrailingObjects() argument 3802 private llvm::TrailingObjects<UnresolvedMemberExpr, DeclAccessPair, 3847 unsigned numTrailingObjects(OverloadToken<DeclAccessPair>) const { in numTrailingObjects() argument 3954 DeclAccessPair *OverloadExpr::getTrailingResults() { in getTrailingResults() 3956 return ULE->getTrailingObjects<DeclAccessPair>(); in getTrailingResults() 3957 return cast<UnresolvedMemberExpr>(this)->getTrailingObjects<DeclAccessPair>(); in getTrailingResults()
|
/external/clang/include/clang/AST/ |
D | UnresolvedSet.h | 29 UnresolvedSetIterator, DeclAccessPair *, 36 explicit UnresolvedSetIterator(DeclAccessPair *Iter) in UnresolvedSetIterator() 38 explicit UnresolvedSetIterator(const DeclAccessPair *Iter) in UnresolvedSetIterator() 39 : iterator_adaptor_base(const_cast<DeclAccessPair *>(Iter)) {} in UnresolvedSetIterator() 48 const DeclAccessPair &getPair() const { return *I; } in getPair() 56 typedef SmallVectorImpl<DeclAccessPair> DeclsTy; 87 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl() 122 DeclAccessPair &operator[](unsigned I) { return decls()[I]; } 123 const DeclAccessPair &operator[](unsigned I) const { return decls()[I]; } 139 SmallVector<DeclAccessPair, InlineCapacity> Decls;
|
D | DeclAccessPair.h | 30 class DeclAccessPair { 36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make() 37 DeclAccessPair p; in make() 67 template<> struct isPodLike<clang::DeclAccessPair> {
|
D | ASTUnresolvedSet.h | 25 struct DeclsTy : ASTVector<DeclAccessPair> { 27 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() 51 Decls.push_back(DeclAccessPair::make(D, AS), C); in addDecl() 82 DeclAccessPair &operator[](unsigned I) { return Decls[I]; } 83 const DeclAccessPair &operator[](unsigned I) const { return Decls[I]; }
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 179 SmallVectorImpl<DeclAccessPair> &Matches) { in EraseUnwantedCUDAMatches() 180 EraseUnwantedCUDAMatchesImpl<DeclAccessPair>( in EraseUnwantedCUDAMatches() 181 *this, Caller, Matches, [](const DeclAccessPair &item) { in EraseUnwantedCUDAMatches() 188 SmallVectorImpl<std::pair<DeclAccessPair, FunctionDecl *>> &Matches){ in EraseUnwantedCUDAMatches() argument 189 EraseUnwantedCUDAMatchesImpl<std::pair<DeclAccessPair, FunctionDecl *>>( in EraseUnwantedCUDAMatches() 191 [](const std::pair<DeclAccessPair, FunctionDecl *> &item) { in EraseUnwantedCUDAMatches() argument
|
D | SemaAccess.cpp | 158 DeclAccessPair FoundDecl, in AccessTarget() 1516 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck() 1532 DeclAccessPair Found) { in CheckUnresolvedLookupAccess() 1548 DeclAccessPair Found) { in CheckUnresolvedMemberAccess() 1573 DeclAccessPair::make(decl, access), objectType); in isSpecialMemberAccessibleForDeletion() 1603 DeclAccessPair::make(Dtor, Access), in CheckDestructorAccess() 1613 DeclAccessPair Found, in CheckConstructorAccess() 1656 DeclAccessPair Found, in CheckConstructorAccess() 1688 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess() 1699 DeclAccessPair Found, in CheckAllocationAccess() [all …]
|
D | SemaExprMember.cpp | 777 FieldDecl *Field, DeclAccessPair FoundDecl, 784 DeclAccessPair foundDecl, in BuildAnonymousStructUnionMemberReference() 882 DeclAccessPair fakeFoundDecl = in BuildAnonymousStructUnionMemberReference() 883 DeclAccessPair::make(field, field->getAccess()); in BuildAnonymousStructUnionMemberReference() 911 ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() 1113 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() 1763 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaAccess.cpp | 157 DeclAccessPair FoundDecl, in AccessTarget() 1516 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck() 1532 DeclAccessPair Found) { in CheckUnresolvedLookupAccess() 1548 DeclAccessPair Found) { in CheckUnresolvedMemberAccess() 1567 DeclAccessPair Found, in isMemberAccessibleForDeletion() 1606 DeclAccessPair::make(Dtor, Access), in CheckDestructorAccess() 1616 DeclAccessPair Found, in CheckConstructorAccess() 1659 DeclAccessPair Found, in CheckConstructorAccess() 1691 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess() 1702 DeclAccessPair Found, in CheckAllocationAccess() [all …]
|
D | SemaExprMember.cpp | 804 DeclAccessPair foundDecl, in BuildAnonymousStructUnionMemberReference() 868 DeclAccessPair fakeFoundDecl = in BuildAnonymousStructUnionMemberReference() 869 DeclAccessPair::make(field, field->getAccess()); in BuildAnonymousStructUnionMemberReference() 896 SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() 909 SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() 1063 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() 1770 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr()
|
D | SemaOverload.cpp | 1365 DeclAccessPair Found = ICS.UserDefined.FoundConversionFunction; in TryUserDefinedConversion() 1710 DeclAccessPair AccessPair; in IsStandardConversion() 3516 DeclAccessPair FoundDecl = I.getPair(); in IsUserDefinedConversion() 4742 DeclAccessPair Found; in TryReferenceInit() 5169 DeclAccessPair Found; in TryListConversion() 5910 DeclAccessPair Found = ExplicitConversions[0]; in diagnoseNoViableConversion() 5949 DeclAccessPair &Found) { in recordConversion() 5990 DeclAccessPair FoundDecl = ViableConversions[I]; in collectViableConversionCandidates() 6168 DeclAccessPair Found = in PerformContextualImplicitConversion() 6169 DeclAccessPair::make(Best->Function, Best->FoundDecl.getAccess()); in PerformContextualImplicitConversion() [all …]
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 202 DeclAccessPair FoundCopyConstructor; 279 DeclAccessPair FoundConversionFunction; 603 DeclAccessPair FoundDecl; 803 DeclAccessPair FoundDecl; 817 ConstructorInfo Info = {DeclAccessPair::make(ND, D->getAccess()), nullptr, in getConstructorInfo()
|
D | TemplateDeduction.h | 249 DeclAccessPair FoundDecl; 258 void set(DeclAccessPair Found, Decl *Spec, DeductionFailureInfo Info) { in set()
|
D | Initialization.h | 730 DeclAccessPair FoundDecl; 986 DeclAccessPair Found, 1021 DeclAccessPair FoundDecl, 1052 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
D | Sema.h | 101 class DeclAccessPair; variable 2452 DeclAccessPair FoundDecl, 2464 void AddMethodCandidate(DeclAccessPair FoundDecl, 2471 DeclAccessPair FoundDecl, 2479 DeclAccessPair FoundDecl, 2489 DeclAccessPair FoundDecl, 2496 DeclAccessPair FoundDecl, 2502 DeclAccessPair FoundDecl, 2508 DeclAccessPair FoundDecl, 2567 DeclAccessPair &Found, [all …]
|
D | DelayedDiagnostic.h | 47 DeclAccessPair FoundDecl, in AccessedEntity()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | TemplateDeduction.h | 293 DeclAccessPair FoundDecl; 302 void set(DeclAccessPair Found, Decl *Spec, DeductionFailureInfo Info) { in set()
|
D | Overload.h | 330 DeclAccessPair FoundCopyConstructor; 411 DeclAccessPair FoundConversionFunction; 799 DeclAccessPair FoundDecl; 1164 DeclAccessPair FoundDecl; 1180 ConstructorInfo Info = {DeclAccessPair::make(ND, D->getAccess()), nullptr, in getConstructorInfo()
|
D | Initialization.h | 935 DeclAccessPair FoundDecl; 1235 DeclAccessPair Found, 1274 DeclAccessPair FoundDecl, 1303 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
D | Sema.h | 117 class DeclAccessPair; variable 3468 void AddOverloadCandidate(FunctionDecl *Function, DeclAccessPair FoundDecl, 3485 void AddMethodCandidate(DeclAccessPair FoundDecl, 3493 DeclAccessPair FoundDecl, 3503 DeclAccessPair FoundDecl, 3514 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, 3528 CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, 3533 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, 3538 DeclAccessPair FoundDecl, 3628 DeclAccessPair &Found, [all …]
|
D | DelayedDiagnostic.h | 62 DeclAccessPair FoundDecl, QualType BaseObjectType) in AccessedEntity()
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 287 Results = static_cast<DeclAccessPair *>( in OverloadExpr() 288 C.Allocate(sizeof(DeclAccessPair) * NumResults, in OverloadExpr() 289 llvm::alignOf<DeclAccessPair>())); in OverloadExpr() 290 memcpy(Results, Begin.I, NumResults * sizeof(DeclAccessPair)); in OverloadExpr() 326 Results = static_cast<DeclAccessPair *>( in initializeResults() 327 C.Allocate(sizeof(DeclAccessPair) * NumResults, in initializeResults() 329 llvm::alignOf<DeclAccessPair>())); in initializeResults() 330 memcpy(Results, Begin.I, NumResults * sizeof(DeclAccessPair)); in initializeResults()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprCXX.cpp | 374 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in Create() 392 totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in Create() 404 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in CreateEmpty() 431 DeclAccessPair *Results = getTrailingResults(); in OverloadExpr() 432 memcpy(Results, Begin.I, NumResults * sizeof(DeclAccessPair)); in OverloadExpr() 1505 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in Create() 1518 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in CreateEmpty()
|