Home
last modified time | relevance | path

Searched refs:Inherited (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Sema/
H A DUsedDeclVisitor.h26 typedef EvaluatedExprVisitor<Derived> Inherited; typedef
28 UsedDeclVisitor(Sema &S) : Inherited(S.Context), S(S) {} in UsedDeclVisitor()
49 Inherited::VisitCapturedStmt(Node); in VisitCapturedStmt()
64 Inherited::VisitCXXNewExpr(E); in VisitCXXNewExpr()
80 Inherited::VisitCXXDeleteExpr(E); in VisitCXXDeleteExpr()
85 Inherited::VisitCXXConstructExpr(E); in VisitCXXConstructExpr()
H A DSemaStmtAttr.cpp182 typedef ConstEvaluatedExprVisitor<CallExprFinder> Inherited; typedef in __anon47780ec80211::CallExprFinder
184 CallExprFinder(Sema &S, const Stmt *St) : Inherited(S.Context) { Visit(St); } in CallExprFinder()
H A DSemaStmt.cpp866 typedef EvaluatedExprVisitor<CommaVisitor> Inherited; typedef in __anonb6e159cd0a11::CommaVisitor
869 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} in CommaVisitor()
1743 typedef EvaluatedExprVisitor<DeclExtractor> Inherited; typedef in __anonb6e159cd0d11::DeclExtractor
1747 Inherited(S.Context), in DeclExtractor()
1824 typedef EvaluatedExprVisitor<DeclMatcher> Inherited; typedef in __anonb6e159cd0d11::DeclMatcher
1827 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher()
1996 Inherited(S.Context) { in BreakContinueFinder()
2000 typedef ConstEvaluatedExprVisitor<BreakContinueFinder> Inherited; typedef in __anonb6e159cd0d11::BreakContinueFinder
H A DAnalysisBasedWarnings.cpp731 typedef ConstEvaluatedExprVisitor<ContainsReference> Inherited; typedef in __anondc78ae6b0711::ContainsReference
734 : Inherited(Context), FoundReference(false), Needle(Needle) {} in ContainsReference()
741 Inherited::VisitExpr(E); in VisitExpr()
748 Inherited::VisitDeclRefExpr(E); in VisitDeclRefExpr()
H A DSema.cpp1631 typedef UsedDeclVisitor<DeferredDiagnosticsEmitter> Inherited; typedef in __anone2120c650411::DeferredDiagnosticsEmitter
1654 : Inherited(S), ShouldEmitRootNode(false), InOMPDeviceContext(0) {} in DeferredDiagnosticsEmitter()
1660 Inherited::VisitOMPTargetDirective(Node); in VisitOMPTargetDirective()
1670 Inherited::visitUsedDecl(Loc, D); in visitUsedDecl()
H A DOpenCLBuiltins.td190 // Inherited fields
202 // Inherited fields
214 // Inherited fields
226 // Inherited fields
240 // Inherited fields
H A DSemaDeclCXX.cpp3603 typedef EvaluatedExprVisitor<UninitializedFieldVisitor> Inherited; typedef in __anonc19065b01011::UninitializedFieldVisitor
3828 Inherited::VisitImplicitCastExpr(E); in VisitImplicitCastExpr()
3843 Inherited::VisitCXXConstructExpr(E); in VisitCXXConstructExpr()
3855 Inherited::VisitCXXMemberCallExpr(E); in VisitCXXMemberCallExpr()
3865 Inherited::VisitCallExpr(E); in VisitCallExpr()
3872 return Inherited::VisitCXXOperatorCallExpr(E); in VisitCXXOperatorCallExpr()
3894 Inherited::VisitBinaryOperator(E); in VisitBinaryOperator()
3909 Inherited::VisitUnaryOperator(E); in VisitUnaryOperator()
7210 Sema::InheritedConstructorInfo *Inherited = nullptr) { in defaultedSpecialMemberIsConstexpr() argument
7219 if (Inherited) in defaultedSpecialMemberIsConstexpr()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DODRHash.cpp280 Inherited::Visit(D); in Visit()
285 Inherited::VisitNamedDecl(D); in VisitNamedDecl()
292 Inherited::VisitValueDecl(D); in VisitValueDecl()
303 Inherited::VisitVarDecl(D); in VisitVarDecl()
308 Inherited::VisitParmVarDecl(D); in VisitParmVarDecl()
334 Inherited::VisitFieldDecl(D); in VisitFieldDecl()
341 Inherited::VisitFunctionDecl(D); in VisitFunctionDecl()
347 Inherited::VisitCXXMethodDecl(D); in VisitCXXMethodDecl()
357 Inherited::VisitTypedefDecl(D); in VisitTypedefDecl()
421 Inherited::VisitTemplateDecl(D); in VisitTemplateDecl()
[all …]
H A DDeclCXX.cpp2590 InheritedConstructor Inherited, Expr *TrailingRequiresClause) in CXXConstructorDecl() argument
2595 setInheritingConstructor(static_cast<bool>(Inherited)); in CXXConstructorDecl()
2598 if (Inherited) in CXXConstructorDecl()
2599 *getTrailingObjects<InheritedConstructor>() = Inherited; in CXXConstructorDecl()
2630 InheritedConstructor Inherited, Expr *TrailingRequiresClause) { in Create() argument
2636 Inherited ? 1 : 0, ES.getExpr() ? 1 : 0); in Create()
2639 isImplicitlyDeclared, ConstexprKind, Inherited, TrailingRequiresClause); in Create()
H A DExpr.cpp3382 typedef ConstEvaluatedExprVisitor<SideEffectFinder> Inherited; typedef in __anon88198c000911::SideEffectFinder
3388 : Inherited(Context), in SideEffectFinder()
3410 Inherited::VisitDeclStmt(DS); in VisitDeclStmt()
3723 typedef ConstEvaluatedExprVisitor<NonTrivialCallFinder> Inherited; typedef in __anon88198c000a11::NonTrivialCallFinder
3729 : Inherited(Context), NonTrivial(false) { } in NonTrivialCallFinder()
3738 Inherited::VisitStmt(E); in VisitCallExpr()
3749 Inherited::VisitStmt(E); in VisitCXXConstructExpr()
3758 Inherited::VisitStmt(E); in VisitCXXBindTemporaryExpr()
H A DItaniumMangle.cpp871 if (auto Inherited = CD->getInheritedConstructor()) in mangleFunctionEncodingBareType() local
872 FD = Inherited.getConstructor(); in mangleFunctionEncodingBareType()
1614 if (auto Inherited = in mangleUnqualifiedName() local
1616 InheritedFrom = Inherited.getConstructor()->getParent(); in mangleUnqualifiedName()
1618 TemplateName(Inherited.getConstructor()->getPrimaryTemplate()); in mangleUnqualifiedName()
1620 Inherited.getConstructor()->getTemplateSpecializationArgs(); in mangleUnqualifiedName()
/llvm-project-15.0.7/clang/test/AST/
H A Dattr-swift_private.m17 // CHECK: SwiftPrivateAttr {{.*}} Inherited
26 // CHECK: SwiftPrivateAttr {{.*}} Inherited
H A Dattr-swift_bridge.m11 // CHECK: SwiftBridgeAttr {{.*}} Inherited "BridgedS"
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAttr.h48 unsigned Inherited : 1;
76 : AttributeCommonInfo(CommonInfo), AttrKind(AK), Inherited(false), in Attr()
90 bool isInherited() const { return Inherited; } in isInherited()
147 void setInherited(bool I) { Inherited = I; } in setInherited()
H A DDeclTemplate.h384 } else if (auto *Inherited = in setInherited() local
386 assert(C.isSameDefaultTemplateArgument(Inherited->PrevDeclWithDefaultArg, in setInherited()
388 Inherited->PrevDeclWithDefaultArg = InheritedFrom; in setInherited()
H A DDeclCXX.h2451 InheritedConstructor Inherited,
2494 InheritedConstructor Inherited = InheritedConstructor(),
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dprotocols-suppress-conformance.m48 @protocol Inherited protocol
53 @protocol Derived <Inherited>
57 @interface ClassC <Inherited>
H A Dproperty-inherited.m4 // rdar://6497242 Inherited overridden protocol declared objects don't work
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DInterp.cpp351 auto *Inherited = CD->getInheritedConstructor().getConstructor(); in CheckCallable() local
352 if (!Inherited->isConstexpr()) in CheckCallable()
353 DiagDecl = CD = Inherited; in CheckCallable()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.h148 bool inheritingCtorHasParams(const InheritedConstructor &Inherited,
H A DCodeGenFunction.cpp1292 if (auto Inherited = CD->getInheritedConstructor()) in BuildFunctionArgList() local
1294 getTypes().inheritingCtorHasParams(Inherited, GD.getCtorType()); in BuildFunctionArgList()
H A DCGCall.cpp310 const InheritedConstructor &Inherited, CXXCtorType Type) { in inheritingCtorHasParams() argument
314 !Inherited.getShadowDecl()->constructsVirtualBase() || in inheritingCtorHasParams()
331 if (auto Inherited = CD->getInheritedConstructor()) in arrangeCXXStructorDeclaration() local
332 PassParams = inheritingCtorHasParams(Inherited, GD.getCtorType()); in arrangeCXXStructorDeclaration()
H A DCGClass.cpp2192 if (auto Inherited = D->getInheritedConstructor()) { in EmitCXXConstructorCall() local
2193 PassPrototypeArgs = getTypes().inheritingCtorHasParams(Inherited, Type); in EmitCXXConstructorCall()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp1423 if (auto Inherited = D->getInheritedConstructor()) { in VisitCXXConstructorDecl() local
1424 Record.AddDeclRef(Inherited.getShadowDecl()); in VisitCXXConstructorDecl()
1425 Record.AddDeclRef(Inherited.getConstructor()); in VisitCXXConstructorDecl()
/llvm-project-15.0.7/mlir/docs/Dialects/
H A DVector.md289 ### Constraints Inherited from LLVM (see LangRef)

12