Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclAccessPair.h30 class DeclAccessPair {
36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make()
37 DeclAccessPair p; in make()
68 template<> struct isPodLike<clang::DeclAccessPair> {
DUnresolvedSet.h30 typedef llvm::MutableArrayRef<DeclAccessPair> DeclsTy;
56 DeclAccessPair getPair() const { return *ir; } in getPair()
93 typedef SmallVectorImpl<DeclAccessPair> DeclsTy;
119 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl()
166 DeclAccessPair &operator[](unsigned I) { return decls()[I]; }
167 const DeclAccessPair &operator[](unsigned I) const { return decls()[I]; }
183 SmallVector<DeclAccessPair, InlineCapacity> Decls;
DASTUnresolvedSet.h25 typedef ASTVector<DeclAccessPair> DeclsTy;
49 Decls.push_back(DeclAccessPair::make(D, AS), C); in addDecl()
80 DeclAccessPair &operator[](unsigned I) { return Decls[I]; }
81 const DeclAccessPair &operator[](unsigned I) const { return Decls[I]; }
DExpr.h2268 DeclAccessPair FoundDecl;
2354 ValueDecl *memberdecl, DeclAccessPair founddecl,
2370 DeclAccessPair getFoundDecl() const { in getFoundDecl()
2372 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
DExprCXX.h2284 DeclAccessPair *Results;
/external/clang/lib/Sema/
DSemaAccess.cpp158 DeclAccessPair FoundDecl, in AccessTarget()
1526 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
1542 DeclAccessPair Found) { in CheckUnresolvedLookupAccess()
1558 DeclAccessPair Found) { in CheckUnresolvedMemberAccess()
1583 DeclAccessPair::make(decl, access), objectType); in isSpecialMemberAccessibleForDeletion()
1613 DeclAccessPair::make(Dtor, Access), in CheckDestructorAccess()
1686 DeclAccessPair::make(Constructor, Access), in CheckConstructorAccess()
1697 DeclAccessPair Found, in CheckAllocationAccess()
1718 DeclAccessPair Found) { in CheckMemberOperatorAccess()
1757 DeclAccessPair::make(target, access), in CheckFriendAccess()
[all …]
DSemaExprMember.cpp684 DeclAccessPair FoundDecl,
769 DeclAccessPair foundDecl = DeclAccessPair::make(field, field->getAccess()); in BuildAnonymousStructUnionMemberReference()
790 DeclAccessPair foundDecl = DeclAccessPair::make(field, field->getAccess()); in BuildAnonymousStructUnionMemberReference()
806 DeclAccessPair FoundDecl, in BuildMemberExpr()
915 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr()
1595 DeclAccessPair FoundDecl, in BuildFieldReferenceExpr()
DSemaOverload.cpp1443 DeclAccessPair AccessPair; in IsStandardConversion()
2955 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in IsInitializerListConstructorConversion()
3083 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in IsUserDefinedConversion()
3141 DeclAccessPair FoundDecl = I.getPair(); in IsUserDefinedConversion()
4166 DeclAccessPair Found; in TryReferenceInit()
4545 DeclAccessPair Found; in TryListConversion()
5202 DeclAccessPair Found = ExplicitConversions[0]; in ConvertToIntegralOrEnumerationType()
5242 DeclAccessPair Found = ViableConversions[0]; in ConvertToIntegralOrEnumerationType()
5302 DeclAccessPair FoundDecl, in AddOverloadCandidate()
5462 void Sema::AddMethodCandidate(DeclAccessPair FoundDecl, in AddMethodCandidate()
[all …]
DSemaInit.cpp2487 DeclAccessPair Found, in AddAddressOverloadResolutionStep()
2527 DeclAccessPair FoundDecl, in AddUserConversionStep()
2588 S.Function.FoundDecl = DeclAccessPair::make(Constructor, Access); in AddConstructorInitializationStep()
2772 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in ResolveConstructorOverload()
2954 DeclAccessPair Found; in ResolveOverloadedFunctionForReferenceBinding()
3183 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in TryRefInitWithConversionFunction()
3752 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in TryUserDefinedConversion()
4291 DeclAccessPair dap; in InitializationSequence()
4426 DeclAccessPair FoundDecl in LookupCopyAndMoveConstructors()
4427 = DeclAccessPair::make(Constructor, Constructor->getAccess()); in LookupCopyAndMoveConstructors()
[all …]
DSemaLookup.cpp2370 AddMethodCandidate(M, DeclAccessPair::make(M, AS_public), RD, ThisTy, in LookupSpecialMember()
2374 AddOverloadCandidate(M, DeclAccessPair::make(M, AS_public), in LookupSpecialMember()
2379 AddMethodTemplateCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), in LookupSpecialMember()
2384 AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), in LookupSpecialMember()
DSemaExprCXX.cpp1562 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches; in FindAllocationFunctions()
1935 SmallVector<DeclAccessPair,4> Matches; in FindDeallocationFunction()
1973 for (SmallVectorImpl<DeclAccessPair>::iterator in FindDeallocationFunction()
2315 DeclAccessPair FoundDecl, in BuildCXXCastArgument()
2500 DeclAccessPair Found; in PerformImplicitConversion()
DSemaCast.cpp1202 DeclAccessPair FoundOverload; in TryStaticMemberPointerUpcast()
1907 DeclAccessPair Found; in CheckCXXCStyleCast()
DSemaExpr.cpp1649 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
1653 AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), in DiagnoseEmptyLookup()
DSemaTemplate.cpp4308 DeclAccessPair FoundResult; // temporary for ResolveOverloadedFunction in CheckTemplateArgument()
DSemaCodeComplete.cpp3880 AddOverloadCandidate(FDecl, DeclAccessPair::make(FDecl, AS_none), Args, in CodeCompleteCall()
/external/clang/include/clang/Sema/
DInitialization.h650 DeclAccessPair FoundDecl;
870 DeclAccessPair Found,
905 DeclAccessPair FoundDecl,
DOverload.h288 DeclAccessPair FoundConversionFunction;
610 DeclAccessPair FoundDecl;
DDelayedDiagnostic.h46 DeclAccessPair FoundDecl, in AccessedEntity()
DSema.h90 class DeclAccessPair; variable
1965 DeclAccessPair FoundDecl,
1976 void AddMethodCandidate(DeclAccessPair FoundDecl,
1983 DeclAccessPair FoundDecl,
1990 DeclAccessPair FoundDecl,
1999 DeclAccessPair FoundDecl,
2005 DeclAccessPair FoundDecl,
2010 DeclAccessPair FoundDecl,
2015 DeclAccessPair FoundDecl,
2060 DeclAccessPair &Found,
[all …]
/external/clang/lib/AST/
DExprCXX.cpp299 Results = static_cast<DeclAccessPair *>( in OverloadExpr()
300 C.Allocate(sizeof(DeclAccessPair) * NumResults, in OverloadExpr()
301 llvm::alignOf<DeclAccessPair>())); in OverloadExpr()
303 NumResults * sizeof(DeclAccessPair)); in OverloadExpr()
340 Results = static_cast<DeclAccessPair *>( in initializeResults()
341 C.Allocate(sizeof(DeclAccessPair) * NumResults, in initializeResults()
343 llvm::alignOf<DeclAccessPair>())); in initializeResults()
345 NumResults * sizeof(DeclAccessPair)); in initializeResults()
DExpr.cpp1274 DeclAccessPair founddecl, in Create()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1808 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream()
DASTWriterStmt.cpp481 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()