/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]; }
|
D | Expr.h | 2310 DeclAccessPair FoundDecl; 2399 DeclAccessPair founddecl, 2415 DeclAccessPair getFoundDecl() const { in getFoundDecl() 2417 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
|
D | ExprCXX.h | 2494 DeclAccessPair *Results;
|
/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()
|
D | SemaOverload.cpp | 1221 DeclAccessPair Found = ICS.UserDefined.FoundConversionFunction; in TryUserDefinedConversion() 1515 DeclAccessPair AccessPair; in IsStandardConversion() 3224 DeclAccessPair FoundDecl = I.getPair(); in IsUserDefinedConversion() 4303 DeclAccessPair Found; in TryReferenceInit() 4735 DeclAccessPair Found; in TryListConversion() 5356 DeclAccessPair Found = ExplicitConversions[0]; in diagnoseNoViableConversion() 5394 DeclAccessPair &Found) { in recordConversion() 5434 DeclAccessPair FoundDecl = ViableConversions[I]; in collectViableConversionCandidates() 5611 DeclAccessPair Found = in PerformContextualImplicitConversion() 5612 DeclAccessPair::make(Best->Function, Best->FoundDecl.getAccess()); in PerformContextualImplicitConversion() [all …]
|
D | SemaCast.cpp | 1383 DeclAccessPair FoundOverload; in TryStaticMemberPointerUpcast() 2268 DeclAccessPair Found; in CheckCXXCStyleCast() 2359 DeclAccessPair DAP; in CheckCStyleCast()
|
D | SemaInit.cpp | 3122 DeclAccessPair Found, in AddAddressOverloadResolutionStep() 3162 DeclAccessPair FoundDecl, in AddUserConversionStep() 3228 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, in AddConstructorInitializationStep() 3640 DeclAccessPair Found; in ResolveOverloadedFunctionForReferenceBinding() 5213 DeclAccessPair dap; in InitializeFrom() 6508 DeclAccessPair FoundFn = Step->Function.FoundDecl; in Perform() 7106 DeclAccessPair Found; in Diagnose()
|
D | SemaExprCXX.cpp | 2058 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches; in FindAllocationFunctions() 2513 SmallVector<DeclAccessPair,4> Matches; in FindDeallocationFunction() 2554 for (SmallVectorImpl<DeclAccessPair>::iterator in FindDeallocationFunction() 3180 DeclAccessPair FoundDecl, in BuildCXXCastArgument() 3369 DeclAccessPair Found; in PerformImplicitConversion()
|
D | SemaLookup.cpp | 2954 DeclAccessPair Cand = DeclAccessPair::make(CandDecl, AS_public); in LookupSpecialMember()
|
D | SemaCodeComplete.cpp | 4066 AddOverloadCandidate(FD, DeclAccessPair::make(FD, FD->getAccess()), in CodeCompleteCall() 4133 AddOverloadCandidate(FD, DeclAccessPair::make(FD, C->getAccess()), in CodeCompleteConstructor() 4139 DeclAccessPair::make(FTD, C->getAccess()), in CodeCompleteConstructor()
|
D | SemaTemplateInstantiate.cpp | 2326 DeclAccessPair::make(Template, AS_public), Partial, in InstantiateClassTemplateSpecialization()
|
D | SemaTemplate.cpp | 2819 DeclAccessPair::make(Template, AS_public), Partial, in CheckVarTemplateId() 5216 DeclAccessPair FoundResult; // temporary for ResolveOverloadedFunction in CheckTemplateArgument()
|
D | SemaExpr.cpp | 1979 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup() 1983 AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), in DiagnoseEmptyLookup() 4659 S.AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), Args, in TryTypoCorrectionForCall() 7727 DeclAccessPair DAP; in CheckSingleAssignmentConstraints()
|
/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/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/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 3034 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream()
|
D | ASTWriterStmt.cpp | 589 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|