Home
last modified time | relevance | path

Searched refs:NamingClass (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp156 CXXRecordDecl *NamingClass, in AccessTarget()
159 : AccessedEntity(Context.getDiagAllocator(), Member, NamingClass, in AccessTarget()
599 const CXXRecordDecl *NamingClass; member
608 const CXXRecordDecl *NamingClass) in ProtectedFriendContext()
609 : S(S), EC(EC), NamingClass(NamingClass), in ProtectedFriendContext()
611 NamingClass->isDependentContext()), in ProtectedFriendContext()
637 if (Cur == NamingClass) in findFriendship()
640 if (CheckDependent && MightInstantiateTo(Cur, NamingClass)) in findFriendship()
711 const CXXRecordDecl *NamingClass) { in GetProtectedFriendKind() argument
714 assert(NamingClass->getCanonicalDecl() == NamingClass); in GetProtectedFriendKind()
[all …]
DSemaCodeComplete.cpp1589 CXXRecordDecl *NamingClass; member in __anon2f121f790211::CodeCompletionDeclConsumer
1600 NamingClass = llvm::dyn_cast<CXXRecordDecl>(InitialLookupCtx); in CodeCompletionDeclConsumer()
1607 if (!NamingClass) in CodeCompletionDeclConsumer()
1608 NamingClass = BaseType->getAsCXXRecordDecl(); in CodeCompletionDeclConsumer()
1631 auto *NamingClass = this->NamingClass; in IsAccessible() local
1634 if (!NamingClass) in IsAccessible()
1635 NamingClass = Cls; in IsAccessible()
1639 if (NamingClass->getCanonicalDecl() != Cls->getCanonicalDecl() && in IsAccessible()
1640 !NamingClass->isDerivedFrom(Cls)) { in IsAccessible()
1641 NamingClass = Cls; in IsAccessible()
[all …]
DSemaOverload.cpp13209 ExprResult Sema::CreateUnresolvedLookupExpr(CXXRecordDecl *NamingClass, in CreateUnresolvedLookupExpr() argument
13214 return UnresolvedLookupExpr::Create(Context, NamingClass, NNSLoc, DNI, in CreateUnresolvedLookupExpr()
13268 CXXRecordDecl *NamingClass = nullptr; // lookup ignores member operators in CreateOverloadedUnaryOp() local
13270 NamingClass, NestedNameSpecifierLoc(), OpNameInfo, Fns); in CreateOverloadedUnaryOp()
13528 CXXRecordDecl *NamingClass = nullptr; // lookup ignores member operators in CreateOverloadedBinOp() local
13533 NamingClass, NestedNameSpecifierLoc(), OpNameInfo, Fns, PerformADL); in CreateOverloadedBinOp()
13996 CXXRecordDecl *NamingClass = nullptr; // lookup ignores member operators in CreateOverloadedArraySubscriptExpr() local
14001 NamingClass, NestedNameSpecifierLoc(), OpNameInfo, UnresolvedSet<0>()); in CreateOverloadedArraySubscriptExpr()
DTreeTransform.h11779 CXXRecordDecl *NamingClass in TransformUnresolvedLookupExpr() local
11783 if (!NamingClass) { in TransformUnresolvedLookupExpr()
11788 R.setNamingClass(NamingClass); in TransformUnresolvedLookupExpr()
12907 CXXRecordDecl *NamingClass in TransformUnresolvedMemberExpr() local
12911 if (!NamingClass) in TransformUnresolvedMemberExpr()
12914 R.setNamingClass(NamingClass); in TransformUnresolvedMemberExpr()
DSemaExpr.cpp6256 const CXXRecordDecl *const NamingClass = in enclosingClassIsRelatedToClassInWhichMembersWereFound() local
6258 assert(NamingClass && "Must have naming class even for implicit access"); in enclosingClassIsRelatedToClassInWhichMembersWereFound()
6264 return CurParentClass == NamingClass || in enclosingClassIsRelatedToClassInWhichMembersWereFound()
6265 CurParentClass->isDerivedFrom(NamingClass); in enclosingClassIsRelatedToClassInWhichMembersWereFound()
/external/clang/lib/Sema/
DSemaAccess.cpp157 CXXRecordDecl *NamingClass, in AccessTarget()
160 : AccessedEntity(Context.getDiagAllocator(), Member, NamingClass, in AccessTarget()
600 const CXXRecordDecl *NamingClass; member
609 const CXXRecordDecl *NamingClass) in ProtectedFriendContext()
610 : S(S), EC(EC), NamingClass(NamingClass), in ProtectedFriendContext()
612 NamingClass->isDependentContext()), in ProtectedFriendContext()
638 if (Cur == NamingClass) in findFriendship()
641 if (CheckDependent && MightInstantiateTo(Cur, NamingClass)) in findFriendship()
712 const CXXRecordDecl *NamingClass) { in GetProtectedFriendKind() argument
715 assert(NamingClass->getCanonicalDecl() == NamingClass); in GetProtectedFriendKind()
[all …]
DTreeTransform.h9709 CXXRecordDecl *NamingClass in TransformUnresolvedLookupExpr() local
9713 if (!NamingClass) { in TransformUnresolvedLookupExpr()
9718 R.setNamingClass(NamingClass); in TransformUnresolvedLookupExpr()
10583 CXXRecordDecl *NamingClass in TransformUnresolvedMemberExpr() local
10587 if (!NamingClass) in TransformUnresolvedMemberExpr()
10590 R.setNamingClass(NamingClass); in TransformUnresolvedMemberExpr()
/external/clang/include/clang/Sema/
DLookup.h134 NamingClass(nullptr), in ResultKind()
156 NamingClass(nullptr), in ResultKind()
176 NamingClass(nullptr), in LookupResult()
197 NamingClass(std::move(Other.NamingClass)), in LookupResult()
214 NamingClass = std::move(Other.NamingClass);
368 return NamingClass != nullptr; in isClassLookup()
388 return NamingClass; in getNamingClass()
393 NamingClass = Record; in setNamingClass()
543 NamingClass = nullptr; in clear()
709 CXXRecordDecl *NamingClass; variable
DDelayedDiagnostic.h46 CXXRecordDecl *NamingClass, in AccessedEntity() argument
50 Target(FoundDecl.getDecl()), NamingClass(NamingClass), in AccessedEntity()
61 NamingClass(DerivedClass), in AccessedEntity()
71 CXXRecordDecl *getNamingClass() const { return NamingClass; } in getNamingClass()
77 CXXRecordDecl *getDerivedClass() const { return NamingClass; } in getDerivedClass()
107 CXXRecordDecl *NamingClass; variable
DSema.h5569 CXXRecordDecl *NamingClass,
5588 CXXRecordDecl *NamingClass,
/external/clang/include/clang/AST/
DDependentDiagnostic.h45 CXXRecordDecl *NamingClass, in Create() argument
53 DD->AccessData.NamingClass = NamingClass; in Create()
84 return AccessData.NamingClass; in getAccessNamingClass()
116 CXXRecordDecl *NamingClass; member
DExprCXX.h2689 CXXRecordDecl *NamingClass; variable
2696 CXXRecordDecl *NamingClass, in UnresolvedLookupExpr() argument
2706 Overloaded(Overloaded), NamingClass(NamingClass) in UnresolvedLookupExpr()
2711 RequiresADL(false), Overloaded(false), NamingClass(nullptr) in UnresolvedLookupExpr()
2720 CXXRecordDecl *NamingClass, in Create() argument
2726 return new(C) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
2732 CXXRecordDecl *NamingClass,
2755 CXXRecordDecl *getNamingClass() const { return NamingClass; } in getNamingClass()
/external/llvm-project/clang/include/clang/AST/
DDependentDiagnostic.h47 CXXRecordDecl *NamingClass, in Create() argument
55 DD->AccessData.NamingClass = NamingClass; in Create()
86 return AccessData.NamingClass; in getAccessNamingClass()
119 CXXRecordDecl *NamingClass; member
DExprCXX.h3075 CXXRecordDecl *NamingClass; variable
3091 UnresolvedLookupExpr(const ASTContext &Context, CXXRecordDecl *NamingClass,
3112 Create(const ASTContext &Context, CXXRecordDecl *NamingClass,
3118 Create(const ASTContext &Context, CXXRecordDecl *NamingClass,
3139 CXXRecordDecl *getNamingClass() { return NamingClass; } in getNamingClass()
3140 const CXXRecordDecl *getNamingClass() const { return NamingClass; } in getNamingClass()
/external/llvm-project/clang/include/clang/Sema/
DDelayedDiagnostic.h61 MemberNonce _, CXXRecordDecl *NamingClass, in AccessedEntity() argument
64 Target(FoundDecl.getDecl()), NamingClass(NamingClass), in AccessedEntity()
71 NamingClass(DerivedClass), Diag(0, Allocator) {} in AccessedEntity()
81 CXXRecordDecl *getNamingClass() const { return NamingClass; } in getNamingClass()
87 CXXRecordDecl *getDerivedClass() const { return NamingClass; } in getDerivedClass()
117 CXXRecordDecl *NamingClass; variable
DLookup.h187 NamingClass(std::move(Other.NamingClass)), in LookupResult()
208 NamingClass = std::move(Other.NamingClass);
384 return NamingClass != nullptr; in isClassLookup()
404 return NamingClass; in getNamingClass()
409 NamingClass = Record; in setNamingClass()
559 NamingClass = nullptr; in clear()
728 CXXRecordDecl *NamingClass = nullptr; variable
DSema.h3695 ExprResult CreateUnresolvedLookupExpr(CXXRecordDecl *NamingClass,
7103 CXXRecordDecl *NamingClass,
7122 CXXRecordDecl *NamingClass,
7141 bool IsSimplyAccessible(NamedDecl *Decl, CXXRecordDecl *NamingClass,
7143 bool isMemberAccessibleForDeletion(CXXRecordDecl *NamingClass,
7147 bool isMemberAccessibleForDeletion(CXXRecordDecl *NamingClass, in isMemberAccessibleForDeletion() argument
7150 return isMemberAccessibleForDeletion(NamingClass, Found, ObjectType, in isMemberAccessibleForDeletion()
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp349 const ASTContext &Context, CXXRecordDecl *NamingClass, in UnresolvedLookupExpr() argument
357 NamingClass(NamingClass) { in UnresolvedLookupExpr()
369 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create() argument
377 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, in Create()
383 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create() argument
395 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, in Create()
/external/clang/lib/AST/
DExprCXX.cpp214 CXXRecordDecl *NamingClass, in Create() argument
230 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp2051 E->NamingClass = readDeclAs<CXXRecordDecl>(); in VisitUnresolvedLookupExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1545 E->NamingClass = ReadDeclAs<CXXRecordDecl>(Record, Idx); in VisitUnresolvedLookupExpr()