Home
last modified time | relevance | path

Searched refs:InitializedEntity (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h47 class alignas(8) InitializedEntity {
141 const InitializedEntity *Parent = nullptr;
215 InitializedEntity() {} in InitializedEntity() function
218 InitializedEntity(VarDecl *Var, EntityKind EK = EK_Variable)
224 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
233 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent,
241 InitializedEntity(ASTContext &Context, unsigned Index,
242 const InitializedEntity &Parent);
245 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity() function
254 static InitializedEntity InitializeVariable(VarDecl *Var) { in InitializeVariable()
[all …]
H A DSema.h146 class InitializedEntity; variable
1364 const InitializedEntity &Entity,
1370 const InitializedEntity &Entity,
8688 const InitializedEntity &Entity, InitListExpr *From);
8697 void checkInitializerLifetime(const InitializedEntity &Entity, Expr *Init);
8712 bool CanPerformCopyInitialization(const InitializedEntity &Entity,
8714 ExprResult PerformCopyInitialization(const InitializedEntity &Entity,
8720 TypeSourceInfo *TInfo, const InitializedEntity &Entity,
10869 PerformMoveOrCopyInitialization(const InitializedEntity &Entity,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp196 static bool initializingConstexprVariable(const InitializedEntity &Entity) { in initializingConstexprVariable()
198 const InitializedEntity *Parent = &Entity; in initializingConstexprVariable()
326 void CheckImplicitInitList(const InitializedEntity &Entity,
330 void CheckExplicitInitList(const InitializedEntity &Entity,
334 void CheckListElementTypes(const InitializedEntity &Entity,
341 void CheckSubElementType(const InitializedEntity &Entity,
347 void CheckComplexType(const InitializedEntity &Entity,
352 void CheckScalarType(const InitializedEntity &Entity,
357 void CheckReferenceType(const InitializedEntity &Entity,
362 void CheckVectorType(const InitializedEntity &Entity,
[all …]
H A DCheckExprLifetime.cpp50 llvm::PointerIntPair<const InitializedEntity *, 3, LifetimeKind>;
57 getEntityLifetime(const InitializedEntity *Entity, in getEntityLifetime()
58 const InitializedEntity *InitField = nullptr) { in getEntityLifetime()
61 case InitializedEntity::EK_Variable: in getEntityLifetime()
65 case InitializedEntity::EK_Member: in getEntityLifetime()
85 case InitializedEntity::EK_Binding: in getEntityLifetime()
90 case InitializedEntity::EK_Parameter: in getEntityLifetime()
91 case InitializedEntity::EK_Parameter_CF_Audited: in getEntityLifetime()
97 case InitializedEntity::EK_TemplateParameter: in getEntityLifetime()
102 case InitializedEntity::EK_Result: in getEntityLifetime()
[all …]
H A DCheckExprLifetime.h30 void checkExprLifetime(Sema &SemaRef, const InitializedEntity &Entity,
H A DSemaAccess.cpp1657 const InitializedEntity &Entity, in CheckConstructorAccess()
1671 case InitializedEntity::EK_Base: in CheckConstructorAccess()
1678 case InitializedEntity::EK_Member: in CheckConstructorAccess()
1679 case InitializedEntity::EK_ParenAggInitMember: { in CheckConstructorAccess()
1687 case InitializedEntity::EK_LambdaCapture: { in CheckConstructorAccess()
1703 const InitializedEntity &Entity, in CheckConstructorAccess()
1719 if ((Entity.getKind() == InitializedEntity::EK_Base || in CheckConstructorAccess()
1720 Entity.getKind() == InitializedEntity::EK_Delegating) && in CheckConstructorAccess()
H A DSemaExprCXX.cpp914 InitializedEntity Entity = in BuildCXXThrow()
915 InitializedEntity::InitializeException(OpLoc, ExceptionObjectTy); in BuildCXXThrow()
1547 InitializedEntity Entity = in BuildCXXTypeConstructExpr()
1548 InitializedEntity::InitializeTemporary(Context, TInfo); in BuildCXXTypeConstructExpr()
1572 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr()
1613 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr()
2096 InitializedEntity Entity in BuildCXXNew()
2097 = InitializedEntity::InitializeNew(StartLoc, AllocType); in BuildCXXNew()
2464 InitializedEntity Entity in BuildCXXNew()
2465 = InitializedEntity::InitializeNew(StartLoc, InitType); in BuildCXXNew()
[all …]
H A DSemaCoroutine.cpp550 InitializedEntity Entity = InitializedEntity::InitializeVariable(VD); in buildCoroutinePromise()
1771 InitializedEntity Entity = in makeGroDeclAndReturnStmt()
1772 InitializedEntity::InitializeResult(Loc, FnRetType); in makeGroDeclAndReturnStmt()
1793 InitializedEntity Entity = InitializedEntity::InitializeVariable(GroDecl); in makeGroDeclAndReturnStmt()
H A DSemaLambda.cpp825 InitializedEntity Entity = in buildLambdaInitCaptureInitialization()
826 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
1938 InitializedEntity Entity = InitializedEntity::InitializeLambdaCapture( in BuildCaptureInit()
2300 InitializedEntity::InitializeLambdaToBlock(ConvLocation, Src->getType()), in BuildBlockForLambdaConversion()
H A DSemaExprObjC.cpp360 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in BuildObjCNumericLiteral()
408 InitializedEntity Entity in CheckObjCCollectionLiteralElement()
409 = InitializedEntity::InitializeParameter(S.Context, T, in CheckObjCCollectionLiteralElement()
504 InitializedEntity::InitializeParameter(S.Context, T, in CheckObjCCollectionLiteralElement()
746 InitializedEntity IE = InitializedEntity::InitializeTemporary(ValueType); in BuildObjCBoxedExpr()
752 InitializedEntity IE = InitializedEntity::InitializeParameter(Context, in BuildObjCBoxedExpr()
1880 InitializedEntity Entity in CheckMessageArgumentTypes()
1881 = InitializedEntity::InitializeParameter(Context, param, paramType); in CheckMessageArgumentTypes()
H A DSemaStmt.cpp2659 InitializedEntity Entity = in BuildCXXForRangeStmt()
2660 InitializedEntity::InitializeVariable(RangeVar); in BuildCXXForRangeStmt()
3373 const InitializedEntity &Entity, const NamedReturnInfo &NRInfo, Expr *Value, in PerformMoveOrCopyInitialization()
3545 InitializedEntity Entity = in ActOnCapScopeReturnStmt()
3546 InitializedEntity::InitializeResult(ReturnLoc, FnRetType); in ActOnCapScopeReturnStmt()
4012 InitializedEntity Entity = in BuildReturnStmt()
4013 InitializedEntity::InitializeResult(ReturnLoc, RetType); in BuildReturnStmt()
4030 Entity = InitializedEntity::InitializeRelatedResult(getCurMethodDecl(), in BuildReturnStmt()
H A DSemaDeclCXX.cpp295 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in ConvertParamDefaultArgument()
1324 InitializedEntity Entity = InitializedEntity::InitializeBinding(RefVD); in checkTupleLikeDecomposition()
4069 InitializedEntity Entity = in ConvertMemberDefaultInitExpression()
4070 InitializedEntity::InitializeMemberFromDefaultMemberInitializer(FD); in ConvertMemberDefaultInitExpression()
4511 InitializedEntity MemberEntity = in BuildMemberInitializer()
4512 DirectMember ? InitializedEntity::InitializeMember(DirectMember, nullptr) in BuildMemberInitializer()
4513 : InitializedEntity::InitializeMember(IndirectMember, in BuildMemberInitializer()
4574 InitializedEntity DelegationEntit in BuildDelegatingInitializer()
[all...]
H A DSemaARM.cpp972 InitializedEntity Entity = InitializedEntity::InitializeParameter( in CheckARMBuiltinExclusiveCall()
H A DSemaCast.cpp440 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast()
1898 InitializedEntity Entity = InitializedEntity::InitializeTemporary(DestType); in TryStaticImplicitCast()
H A DSemaChecking.cpp208 InitializedEntity Entity = in convertArgumentToType()
209 InitializedEntity::InitializeParameter(S.Context, Ty, false); in convertArgumentToType()
379 InitializedEntity::InitializeParameter(S.Context, SrcTy, false), in BuiltinAlignment()
385 S.PerformCopyInitialization(InitializedEntity::InitializeParameter( in BuiltinAlignment()
1824 InitializedEntity Entity = in BuiltinLaunder()
1825 InitializedEntity::InitializeParameter(S.Context, ParamTy, false); in BuiltinLaunder()
3989 InitializedEntity Entity = in BuildAtomicExpr()
3990 InitializedEntity::InitializeParameter(Context, Ty, false); in BuildAtomicExpr()
4112 InitializedEntity Entity = in checkBuiltinArgument()
4113 InitializedEntity::InitializeParameter(S.Context, Param); in checkBuiltinArgument()
[all …]
H A DSemaRISCV.cpp1359 InitializedEntity Entity = InitializedEntity::InitializeParameter( in CheckBuiltinFunctionCall()
H A DSemaExpr.cpp914 InitializedEntity::InitializeTemporary(E->getType()), in DefaultArgumentPromotion()
4968 InitializedEntity Entity = InitializedEntity::InitializeTemporary(Ty); in tryConvertExprToType()
5932 InitializedEntity Entity = in GatherArgumentsForCall()
5933 Param ? InitializedEntity::InitializeParameter(Context, Param, in GatherArgumentsForCall()
5935 : InitializedEntity::InitializeParameter( in GatherArgumentsForCall()
6897 InitializedEntity Entity = InitializedEntity::InitializeParameter( in BuildResolvedCallExpr()
7022 InitializedEntity Entity in BuildCompoundLiteralExpr()
7023 = InitializedEntity::InitializeCompoundLiteralInit(TInfo); in BuildCompoundLiteralExpr()
14601 InitializedEntity Entity = in CreateBuiltinBinOp()
14602 InitializedEntity::InitializeTemporary(LHSExpr->getType()); in CreateBuiltinBinOp()
[all …]
H A DSemaOverload.cpp5359 InitializedEntity Entity = in TryListConversion()
5360 InitializedEntity::InitializeParameter(S.Context, ToType, in TryListConversion()
5496 InitializedEntity Entity = in TryListConversion()
5497 InitializedEntity::InitializeParameter(S.Context, ToType, in TryListConversion()
6098 InitializedEntity::InitializeTemplateParameter( in BuildConvertedConstantExpression()
6368 InitializedEntity::InitializeParameter(S.Context, Fun->getParamDecl(0)), in InitializeExplicitObjectArgument()
7159 R = S.PerformCopyInitialization(InitializedEntity::InitializeParameter( in convertArgsForAvailabilityChecks()
14268 = PerformCopyInitialization(InitializedEntity::InitializeParameter( in CreateOverloadedUnaryOp()
14639 InitializedEntity::InitializeParameter( in CreateOverloadedBinOp()
14650 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp()
[all …]
H A DSemaTemplateInstantiate.cpp3268 InitializedEntity Entity in SubstDefaultArgument()
3269 = InitializedEntity::InitializeParameter(Context, Param); in SubstDefaultArgument()
H A DSemaTemplate.cpp6527 InitializedEntity Entity = in CheckTemplateArgument()
6528 InitializedEntity::InitializeTemplateParameter(ParamType, Param); in CheckTemplateArgument()
6671 InitializedEntity Entity = in CheckTemplateArgument()
6672 InitializedEntity::InitializeTemplateParameter(ParamType, Param); in CheckTemplateArgument()
H A DSema.cpp2211 auto IE = InitializedEntity::InitializeBlock(Loc, T); in checkEscapingByref()
H A DSemaDeclObjC.cpp5515 InitializedEntity InitEntity = InitializedEntity::InitializeMember(Field); in SetIvarInitializers()
H A DSemaObjCProperty.cpp1447 InitializedEntity::InitializeResult(PropertyDiagLoc, in ActOnPropertyImplDecl()
H A DSemaDecl.cpp12839 InitializedEntity Entity = InitializedEntity::InitializeVariable(VDecl); in deduceVarTypeFromInitializer()
13440 InitializedEntity Entity = InitializedEntity::InitializeVariable(VDecl); in AddInitializerToDecl()
14067 InitializedEntity Entity = InitializedEntity::InitializeVariable(Var); in ActOnUninitializedDecl()
H A DSemaDeclAttr.cpp5111 InitializedEntity Entity = InitializedEntity::InitializeParameter( in makeLaunchBoundsArgExpr()

12