Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclAccessPair.h29 class DeclAccessPair {
35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make()
36 DeclAccessPair p; in make()
67 template<> struct isPodLike<clang::DeclAccessPair> {
DUnresolvedSet.h28 typedef SmallVectorImpl<DeclAccessPair> DeclsTy;
53 DeclAccessPair getPair() const { return *ir; } in getPair()
116 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl()
163 DeclAccessPair &operator[](unsigned I) { return decls()[I]; }
164 const DeclAccessPair &operator[](unsigned I) const { return decls()[I]; }
180 SmallVector<DeclAccessPair, InlineCapacity> Decls;
DExpr.h2162 DeclAccessPair FoundDecl;
2248 ValueDecl *memberdecl, DeclAccessPair founddecl,
2264 DeclAccessPair getFoundDecl() const { in getFoundDecl()
2266 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
DExprCXX.h2226 DeclAccessPair *Results;
/external/clang/lib/Sema/
DSemaAccess.cpp153 DeclAccessPair FoundDecl, in AccessTarget()
1469 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
1485 DeclAccessPair Found) { in CheckUnresolvedLookupAccess()
1501 DeclAccessPair Found) { in CheckUnresolvedMemberAccess()
1526 DeclAccessPair::make(decl, access), objectType); in isSpecialMemberAccessibleForDeletion()
1556 DeclAccessPair::make(Dtor, Access), in CheckDestructorAccess()
1629 DeclAccessPair::make(Constructor, Access), in CheckConstructorAccess()
1648 DeclAccessPair::make(Target, Access), in CheckDirectMemberAccess()
1659 DeclAccessPair Found, in CheckAllocationAccess()
1680 DeclAccessPair Found) { in CheckMemberOperatorAccess()
[all …]
DSemaExprMember.cpp692 DeclAccessPair FoundDecl,
777 DeclAccessPair foundDecl = DeclAccessPair::make(field, field->getAccess()); in BuildAnonymousStructUnionMemberReference()
798 DeclAccessPair foundDecl = DeclAccessPair::make(field, field->getAccess()); in BuildAnonymousStructUnionMemberReference()
814 DeclAccessPair FoundDecl, in BuildMemberExpr()
896 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr()
1539 DeclAccessPair FoundDecl, in BuildFieldReferenceExpr()
DSemaOverload.cpp1338 DeclAccessPair AccessPair; in IsStandardConversion()
2828 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in IsInitializerListConstructorConversion()
2958 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in IsUserDefinedConversion()
3016 DeclAccessPair FoundDecl = I.getPair(); in IsUserDefinedConversion()
4046 DeclAccessPair Found; in TryReferenceInit()
4425 DeclAccessPair Found; in TryListConversion()
5096 DeclAccessPair Found = ExplicitConversions[0]; in ConvertToIntegralOrEnumerationType()
5138 DeclAccessPair Found = ViableConversions[0]; in ConvertToIntegralOrEnumerationType()
5198 DeclAccessPair FoundDecl, in AddOverloadCandidate()
5358 void Sema::AddMethodCandidate(DeclAccessPair FoundDecl, in AddMethodCandidate()
[all …]
DSemaInit.cpp2488 DeclAccessPair Found, in AddAddressOverloadResolutionStep()
2528 DeclAccessPair FoundDecl, in AddUserConversionStep()
2589 S.Function.FoundDecl = DeclAccessPair::make(Constructor, Access); in AddConstructorInitializationStep()
2736 DeclAccessPair FoundDecl = DeclAccessPair::make(DefaultConstructor, in TryListConstructionSpecialCases()
2804 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in ResolveConstructorOverload()
2992 DeclAccessPair Found; in ResolveOverloadedFunctionForReferenceBinding()
3191 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in TryRefInitWithConversionFunction()
3728 DeclAccessPair FoundDecl = DeclAccessPair::make(D, D->getAccess()); in TryUserDefinedConversion()
4216 DeclAccessPair dap; in InitializationSequence()
4346 DeclAccessPair FoundDecl in LookupCopyAndMoveConstructors()
[all …]
DSemaLookup.cpp2375 AddMethodCandidate(M, DeclAccessPair::make(M, AS_public), RD, ThisTy, in LookupSpecialMember()
2379 AddOverloadCandidate(M, DeclAccessPair::make(M, AS_public), in LookupSpecialMember()
2395 AddMethodTemplateCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), in LookupSpecialMember()
2400 AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), in LookupSpecialMember()
DSemaExprCXX.cpp1540 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches; in FindAllocationFunctions()
1914 SmallVector<DeclAccessPair,4> Matches; in FindDeallocationFunction()
1952 for (SmallVectorImpl<DeclAccessPair>::iterator in FindDeallocationFunction()
2298 DeclAccessPair FoundDecl, in BuildCXXCastArgument()
2487 DeclAccessPair Found; in PerformImplicitConversion()
DSemaCast.cpp1198 DeclAccessPair FoundOverload; in TryStaticMemberPointerUpcast()
1866 DeclAccessPair Found; in CheckCXXCStyleCast()
DSemaExpr.cpp1486 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
1490 AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), in DiagnoseEmptyLookup()
DSemaTemplate.cpp4187 DeclAccessPair FoundResult; // temporary for ResolveOverloadedFunction in CheckTemplateArgument()
DSemaCodeComplete.cpp3765 AddOverloadCandidate(FDecl, DeclAccessPair::make(FDecl, AS_none), Args, in CodeCompleteCall()
/external/clang/lib/AST/
DExprCXX.cpp274 Results = static_cast<DeclAccessPair *>( in OverloadExpr()
275 C.Allocate(sizeof(DeclAccessPair) * NumResults, in OverloadExpr()
276 llvm::alignOf<DeclAccessPair>())); in OverloadExpr()
278 NumResults * sizeof(DeclAccessPair)); in OverloadExpr()
315 Results = static_cast<DeclAccessPair *>( in initializeResults()
316 C.Allocate(sizeof(DeclAccessPair) * NumResults, in initializeResults()
318 llvm::alignOf<DeclAccessPair>())); in initializeResults()
320 NumResults * sizeof(DeclAccessPair)); in initializeResults()
DExpr.cpp1054 DeclAccessPair founddecl, in Create()
/external/clang/include/clang/Sema/
DInitialization.h641 DeclAccessPair FoundDecl;
848 DeclAccessPair Found,
886 DeclAccessPair FoundDecl,
DOverload.h287 DeclAccessPair FoundConversionFunction;
609 DeclAccessPair FoundDecl;
DDelayedDiagnostic.h46 DeclAccessPair FoundDecl, in AccessedEntity()
DSema.h84 class DeclAccessPair; variable
1603 DeclAccessPair FoundDecl,
1614 void AddMethodCandidate(DeclAccessPair FoundDecl,
1621 DeclAccessPair FoundDecl,
1628 DeclAccessPair FoundDecl,
1637 DeclAccessPair FoundDecl,
1643 DeclAccessPair FoundDecl,
1648 DeclAccessPair FoundDecl,
1653 DeclAccessPair FoundDecl,
1699 DeclAccessPair &Found,
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1786 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream()
DASTWriterStmt.cpp474 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()