Home
last modified time | relevance | path

Searched refs:DeclAccessPair (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/include/clang/AST/
DUnresolvedSet.h29 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;
DDeclAccessPair.h30 class DeclAccessPair {
36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make()
37 DeclAccessPair p; in make()
67 template<> struct isPodLike<clang::DeclAccessPair> {
DASTUnresolvedSet.h25 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]; }
DExpr.h2310 DeclAccessPair FoundDecl;
2399 DeclAccessPair founddecl,
2415 DeclAccessPair getFoundDecl() const { in getFoundDecl()
2417 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
DExprCXX.h2494 DeclAccessPair *Results;
/external/clang/lib/Sema/
DSemaCUDA.cpp179 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
DSemaAccess.cpp158 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 …]
DSemaExprMember.cpp777 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()
DSemaOverload.cpp1221 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 …]
DSemaCast.cpp1383 DeclAccessPair FoundOverload; in TryStaticMemberPointerUpcast()
2268 DeclAccessPair Found; in CheckCXXCStyleCast()
2359 DeclAccessPair DAP; in CheckCStyleCast()
DSemaInit.cpp3122 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()
DSemaExprCXX.cpp2058 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()
DSemaLookup.cpp2954 DeclAccessPair Cand = DeclAccessPair::make(CandDecl, AS_public); in LookupSpecialMember()
DSemaCodeComplete.cpp4066 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()
DSemaTemplateInstantiate.cpp2326 DeclAccessPair::make(Template, AS_public), Partial, in InstantiateClassTemplateSpecialization()
DSemaTemplate.cpp2819 DeclAccessPair::make(Template, AS_public), Partial, in CheckVarTemplateId()
5216 DeclAccessPair FoundResult; // temporary for ResolveOverloadedFunction in CheckTemplateArgument()
DSemaExpr.cpp1979 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/
DOverload.h202 DeclAccessPair FoundCopyConstructor;
279 DeclAccessPair FoundConversionFunction;
603 DeclAccessPair FoundDecl;
803 DeclAccessPair FoundDecl;
817 ConstructorInfo Info = {DeclAccessPair::make(ND, D->getAccess()), nullptr, in getConstructorInfo()
DTemplateDeduction.h249 DeclAccessPair FoundDecl;
258 void set(DeclAccessPair Found, Decl *Spec, DeductionFailureInfo Info) { in set()
DInitialization.h730 DeclAccessPair FoundDecl;
986 DeclAccessPair Found,
1021 DeclAccessPair FoundDecl,
1052 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
DSema.h101 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 …]
DDelayedDiagnostic.h47 DeclAccessPair FoundDecl, in AccessedEntity()
/external/clang/lib/AST/
DExprCXX.cpp287 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/
DASTReaderStmt.cpp3034 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream()
DASTWriterStmt.cpp589 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()

12