Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/include/clang/AST/
DUnresolvedSet.h33 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 …]
DASTUnresolvedSet.h32 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]; }
DDeclAccessPair.h29 class DeclAccessPair {
35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make()
36 DeclAccessPair p; in make()
DExprCXX.h59 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/
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]; }
/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()
/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp157 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 …]
DSemaExprMember.cpp804 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()
DSemaOverload.cpp1365 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/
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/llvm-project/clang/include/clang/Sema/
DTemplateDeduction.h293 DeclAccessPair FoundDecl;
302 void set(DeclAccessPair Found, Decl *Spec, DeductionFailureInfo Info) { in set()
DOverload.h330 DeclAccessPair FoundCopyConstructor;
411 DeclAccessPair FoundConversionFunction;
799 DeclAccessPair FoundDecl;
1164 DeclAccessPair FoundDecl;
1180 ConstructorInfo Info = {DeclAccessPair::make(ND, D->getAccess()), nullptr, in getConstructorInfo()
DInitialization.h935 DeclAccessPair FoundDecl;
1235 DeclAccessPair Found,
1274 DeclAccessPair FoundDecl,
1303 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
DSema.h117 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 …]
DDelayedDiagnostic.h62 DeclAccessPair FoundDecl, QualType BaseObjectType) 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/llvm-project/clang/lib/AST/
DExprCXX.cpp374 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()

123