Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/Sema/
DInitialization.h48 class alignas(8) InitializedEntity {
138 const InitializedEntity *Parent = nullptr;
212 InitializedEntity() = default;
215 InitializedEntity(VarDecl *Var, EntityKind EK = EK_Variable)
221 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
229 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent, in InitializedEntity() function
235 InitializedEntity(ASTContext &Context, unsigned Index,
236 const InitializedEntity &Parent);
239 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity() function
247 static InitializedEntity InitializeVariable(VarDecl *Var) { in InitializeVariable()
[all …]
/external/clang/include/clang/Sema/
DInitialization.h41 class InitializedEntity {
101 const InitializedEntity *Parent;
161 InitializedEntity() : ManglingNumber(0) {} in InitializedEntity() function
164 InitializedEntity(VarDecl *Var) in InitializedEntity() function
171 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
180 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent) in InitializedEntity() function
185 InitializedEntity(ASTContext &Context, unsigned Index,
186 const InitializedEntity &Parent);
189 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity() function
199 static InitializedEntity InitializeVariable(VarDecl *Var) { in InitializeVariable()
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp245 void CheckImplicitInitList(const InitializedEntity &Entity,
249 void CheckExplicitInitList(const InitializedEntity &Entity,
253 void CheckListElementTypes(const InitializedEntity &Entity,
260 void CheckSubElementType(const InitializedEntity &Entity,
265 void CheckComplexType(const InitializedEntity &Entity,
270 void CheckScalarType(const InitializedEntity &Entity,
275 void CheckReferenceType(const InitializedEntity &Entity,
280 void CheckVectorType(const InitializedEntity &Entity,
284 void CheckStructUnionTypes(const InitializedEntity &Entity,
292 void CheckArrayType(const InitializedEntity &Entity,
[all …]
DSemaExprCXX.cpp713 InitializedEntity Entity = InitializedEntity::InitializeException( in BuildCXXThrow()
1063 InitializedEntity Entity = InitializedEntity::InitializeLambdaCapture( in captureThis()
1293 InitializedEntity Entity = InitializedEntity::InitializeTemporary(TInfo); in BuildCXXTypeConstructExpr()
1843 InitializedEntity Entity in BuildCXXNew()
1844 = InitializedEntity::InitializeNew(StartLoc, InitType); in BuildCXXNew()
3197 InitializedEntity::InitializeTemporary(Ty)); in BuildCXXCastArgument()
4399 InitializedEntity To(InitializedEntity::InitializeTemporary(Args[0])); in evaluateTypeTrait()
4564 InitializedEntity To(InitializedEntity::InitializeTemporary(RhsT)); in EvaluateBinaryTypeTrait()
4957 InitializedEntity Entity = InitializedEntity::InitializeTemporary(T); in TryClassUnification()
4986 InitializedEntity Entity = InitializedEntity::InitializeTemporary(TTy); in TryClassUnification()
[all …]
DSemaAccess.cpp1614 const InitializedEntity &Entity, in CheckConstructorAccess()
1628 case InitializedEntity::EK_Base: in CheckConstructorAccess()
1634 case InitializedEntity::EK_Member: { in CheckConstructorAccess()
1641 case InitializedEntity::EK_LambdaCapture: { in CheckConstructorAccess()
1657 const InitializedEntity &Entity, in CheckConstructorAccess()
1673 if ((Entity.getKind() == InitializedEntity::EK_Base || in CheckConstructorAccess()
1674 Entity.getKind() == InitializedEntity::EK_Delegating) && in CheckConstructorAccess()
DSemaLambda.cpp734 InitializedEntity Entity = in buildLambdaInitCaptureInitialization()
735 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
1453 SmallVector<InitializedEntity, 4> Entities; in performLambdaVarCaptureInitialization()
1455 Entities.push_back(InitializedEntity::InitializeLambdaCapture( in performLambdaVarCaptureInitialization()
1459 InitializedEntity::InitializeElement(S.Context, 0, Entities.back())); in performLambdaVarCaptureInitialization()
1661 InitializedEntity::InitializeBlock(ConvLocation, in BuildBlockForLambdaConversion()
DSemaCoroutine.cpp429 InitializedEntity Entity = in CheckCompletedCoroutineBody()
430 InitializedEntity::InitializeResult(Loc, RetType, false); in CheckCompletedCoroutineBody()
DSemaExprObjC.cpp350 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in BuildObjCNumericLiteral()
399 InitializedEntity Entity in CheckObjCCollectionLiteralElement()
400 = InitializedEntity::InitializeParameter(S.Context, T, in CheckObjCCollectionLiteralElement()
494 InitializedEntity::InitializeParameter(S.Context, T, in CheckObjCCollectionLiteralElement()
712 InitializedEntity IE = InitializedEntity::InitializeTemporary(ValueType); in BuildObjCBoxedExpr()
718 InitializedEntity IE = InitializedEntity::InitializeParameter(Context, in BuildObjCBoxedExpr()
1645 InitializedEntity Entity in CheckMessageArgumentTypes()
1646 = InitializedEntity::InitializeParameter(Context, param, paramType); in CheckMessageArgumentTypes()
DSemaDeclCXX.cpp262 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in SetParamDefaultArgument()
2717 InitializedEntity Entity = InitializedEntity::InitializeMember(FD); in ActOnFinishCXXInClassMemberInitializer()
3098 InitializedEntity MemberEntity = in BuildMemberInitializer()
3099 DirectMember ? InitializedEntity::InitializeMember(DirectMember, nullptr) in BuildMemberInitializer()
3100 : InitializedEntity::InitializeMember(IndirectMember, in BuildMemberInitializer()
3154 InitializedEntity DelegationEntity = InitializedEntity::InitializeDelegation( in BuildDelegatingInitializer()
3288 InitializedEntity BaseEntity = in BuildBaseInitializer()
3289 InitializedEntity::InitializeBase(Context, BaseSpec, VirtualBaseSpec); in BuildBaseInitializer()
3352 InitializedEntity InitEntity in BuildImplicitBaseInitializer()
3353 = InitializedEntity::InitializeBase(SemaRef.Context, BaseSpec, in BuildImplicitBaseInitializer()
[all …]
DSemaCast.cpp329 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast()
1505 InitializedEntity Entity = InitializedEntity::InitializeTemporary(DestType); in TryStaticImplicitCast()
DSemaStmt.cpp2773 Sema::PerformMoveOrCopyInitialization(const InitializedEntity &Entity, in PerformMoveOrCopyInitialization()
2982 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, in ActOnCapScopeReturnStmt()
3355 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, in BuildReturnStmt()
3371 Entity = InitializedEntity::InitializeRelatedResult(getCurMethodDecl(), in BuildReturnStmt()
DSemaExpr.cpp839 InitializedEntity::InitializeTemporary(E->getType()), in DefaultArgumentPromotion()
4540 InitializedEntity Entity in BuildCXXDefaultArgExpr()
4541 = InitializedEntity::InitializeParameter(Context, Param); in BuildCXXDefaultArgExpr()
4835 InitializedEntity Entity = in GatherArgumentsForCall()
4836 Param ? InitializedEntity::InitializeParameter(Context, Param, in GatherArgumentsForCall()
4838 : InitializedEntity::InitializeParameter( in GatherArgumentsForCall()
5446 InitializedEntity Entity = InitializedEntity::InitializeParameter( in BuildResolvedCallExpr()
5534 InitializedEntity Entity in BuildCompoundLiteralExpr()
5535 = InitializedEntity::InitializeCompoundLiteralInit(TInfo); in BuildCompoundLiteralExpr()
10784 InitializedEntity Entity = in CreateBuiltinBinOp()
[all …]
DSemaChecking.cpp1353 InitializedEntity Entity = InitializedEntity::InitializeParameter( in CheckARMBuiltinExclusiveCall()
2547 InitializedEntity Entity = in SemaAtomicOpsOverloaded()
2548 InitializedEntity::InitializeParameter(Context, Ty, false); in SemaAtomicOpsOverloaded()
2629 InitializedEntity Entity = in checkBuiltinArgument()
2630 InitializedEntity::InitializeParameter(S.Context, Param); in checkBuiltinArgument()
2966 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in SemaBuiltinAtomicOverloaded()
3070 InitializedEntity Entity = InitializedEntity::InitializeParameter( in SemaBuiltinNontemporalOverloaded()
3555 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in SemaBuiltinAssumeAligned()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp299 void CheckImplicitInitList(const InitializedEntity &Entity,
303 void CheckExplicitInitList(const InitializedEntity &Entity,
307 void CheckListElementTypes(const InitializedEntity &Entity,
314 void CheckSubElementType(const InitializedEntity &Entity,
319 void CheckComplexType(const InitializedEntity &Entity,
324 void CheckScalarType(const InitializedEntity &Entity,
329 void CheckReferenceType(const InitializedEntity &Entity,
334 void CheckVectorType(const InitializedEntity &Entity,
338 void CheckStructUnionTypes(const InitializedEntity &Entity,
346 void CheckArrayType(const InitializedEntity &Entity,
[all …]
DSemaCoroutine.cpp599 InitializedEntity Entity = InitializedEntity::InitializeVariable(VD); in buildCoroutinePromise()
1000 InitializedEntity Entity = in BuildCoreturnStmt()
1001 InitializedEntity::InitializeResult(Loc, E->getType(), NRVOCandidate); in BuildCoreturnStmt()
1569 InitializedEntity Entity = in makeGroDeclAndReturnStmt()
1570 InitializedEntity::InitializeResult(Loc, FnRetType, false); in makeGroDeclAndReturnStmt()
1585 InitializedEntity Entity = InitializedEntity::InitializeVariable(GroDecl); in makeGroDeclAndReturnStmt()
DSemaAccess.cpp1617 const InitializedEntity &Entity, in CheckConstructorAccess()
1631 case InitializedEntity::EK_Base: in CheckConstructorAccess()
1637 case InitializedEntity::EK_Member: { in CheckConstructorAccess()
1644 case InitializedEntity::EK_LambdaCapture: { in CheckConstructorAccess()
1660 const InitializedEntity &Entity, in CheckConstructorAccess()
1676 if ((Entity.getKind() == InitializedEntity::EK_Base || in CheckConstructorAccess()
1677 Entity.getKind() == InitializedEntity::EK_Delegating) && in CheckConstructorAccess()
DSemaExprCXX.cpp877 InitializedEntity Entity = InitializedEntity::InitializeException( in BuildCXXThrow()
1425 InitializedEntity Entity = InitializedEntity::InitializeTemporary(TInfo); in BuildCXXTypeConstructExpr()
1445 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr()
1929 InitializedEntity Entity in BuildCXXNew()
1930 = InitializedEntity::InitializeNew(StartLoc, AllocType); in BuildCXXNew()
2285 InitializedEntity Entity in BuildCXXNew()
2286 = InitializedEntity::InitializeNew(StartLoc, InitType); in BuildCXXNew()
3714 InitializedEntity Entity = in SemaBuiltinOperatorNewDeleteOverloaded()
3715 InitializedEntity::InitializeParameter(Context, ParamTy, false); in SemaBuiltinOperatorNewDeleteOverloaded()
3905 InitializedEntity::InitializeTemporary(Ty)); in BuildCXXCastArgument()
[all …]
DSemaLambda.cpp831 InitializedEntity Entity = in buildLambdaInitCaptureInitialization()
832 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
1615 InitializedEntity Entity = InitializedEntity::InitializeLambdaCapture( in BuildCaptureInit()
1971 InitializedEntity::InitializeLambdaToBlock(ConvLocation, Src->getType(), in BuildBlockForLambdaConversion()
DSemaExprObjC.cpp352 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in BuildObjCNumericLiteral()
401 InitializedEntity Entity in CheckObjCCollectionLiteralElement()
402 = InitializedEntity::InitializeParameter(S.Context, T, in CheckObjCCollectionLiteralElement()
495 InitializedEntity::InitializeParameter(S.Context, T, in CheckObjCCollectionLiteralElement()
739 InitializedEntity IE = InitializedEntity::InitializeTemporary(ValueType); in BuildObjCBoxedExpr()
745 InitializedEntity IE = InitializedEntity::InitializeParameter(Context, in BuildObjCBoxedExpr()
1864 InitializedEntity Entity in CheckMessageArgumentTypes()
1865 = InitializedEntity::InitializeParameter(Context, param, paramType); in CheckMessageArgumentTypes()
DSemaStmt.cpp3110 const InitializedEntity &Entity, in TryMoveInitialization()
3189 Sema::PerformMoveOrCopyInitialization(const InitializedEntity &Entity, in PerformMoveOrCopyInitialization()
3269 (Entity.getKind() == InitializedEntity::EK_Exception); in PerformMoveOrCopyInitialization()
3437 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, in ActOnCapScopeReturnStmt()
3851 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, in BuildReturnStmt()
3867 Entity = InitializedEntity::InitializeRelatedResult(getCurMethodDecl(), in BuildReturnStmt()
DSemaDeclCXX.cpp270 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in ConvertParamDefaultArgument()
1255 InitializedEntity Entity = InitializedEntity::InitializeBinding(RefVD); in checkTupleLikeDecomposition()
3981 InitializedEntity Entity = in ActOnFinishCXXInClassMemberInitializer()
3982 InitializedEntity::InitializeMemberFromDefaultMemberInitializer(FD); in ActOnFinishCXXInClassMemberInitializer()
4344 InitializedEntity MemberEntity = in BuildMemberInitializer()
4345 DirectMember ? InitializedEntity::InitializeMember(DirectMember, nullptr) in BuildMemberInitializer()
4346 : InitializedEntity::InitializeMember(IndirectMember, in BuildMemberInitializer()
4400 InitializedEntity DelegationEntity = InitializedEntity::InitializeDelegation( in BuildDelegatingInitializer()
4535 InitializedEntity BaseEntity = in BuildBaseInitializer()
4536 InitializedEntity::InitializeBase(Context, BaseSpec, VirtualBaseSpec); in BuildBaseInitializer()
[all …]
DSemaCast.cpp429 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast()
1735 InitializedEntity Entity = InitializedEntity::InitializeTemporary(DestType); in TryStaticImplicitCast()
DSemaChecking.cpp268 InitializedEntity::InitializeParameter(S.Context, SrcTy, false), in SemaBuiltinAlignment()
274 S.PerformCopyInitialization(InitializedEntity::InitializeParameter( in SemaBuiltinAlignment()
1365 InitializedEntity Entity = in SemaBuiltinLaunder()
1366 InitializedEntity::InitializeParameter(S.Context, ParamTy, false); in SemaBuiltinLaunder()
2398 InitializedEntity Entity = InitializedEntity::InitializeParameter( in CheckARMBuiltinExclusiveCall()
5071 InitializedEntity Entity = in BuildAtomicExpr()
5072 InitializedEntity::InitializeParameter(Context, Ty, false); in BuildAtomicExpr()
5173 InitializedEntity Entity = in checkBuiltinArgument()
5174 InitializedEntity::InitializeParameter(S.Context, Param); in checkBuiltinArgument()
5518 InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, in SemaBuiltinAtomicOverloaded()
[all …]
DSemaOverload.cpp5037 InitializedEntity Entity = in TryListConversion()
5038 InitializedEntity::InitializeParameter(S.Context, ToType, in TryListConversion()
5129 InitializedEntity Entity = in TryListConversion()
5130 InitializedEntity::InitializeParameter(S.Context, ToType, in TryListConversion()
5690 InitializedEntity::InitializeTemplateParameter( in CheckConvertedConstantExpression()
6613 R = S.PerformCopyInitialization(InitializedEntity::InitializeParameter( in convertArgsForAvailabilityChecks()
13324 = PerformCopyInitialization(InitializedEntity::InitializeParameter( in CreateOverloadedUnaryOp()
13660 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp()
13676 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp()
13684 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp()
[all …]
DSemaExpr.cpp854 InitializedEntity::InitializeTemporary(E->getType()), in DefaultArgumentPromotion()
4729 InitializedEntity Entity = InitializedEntity::InitializeTemporary(Ty); in tryConvertExprToType()
5898 InitializedEntity Entity = in GatherArgumentsForCall()
5899 Param ? InitializedEntity::InitializeParameter(Context, Param, in GatherArgumentsForCall()
5901 : InitializedEntity::InitializeParameter( in GatherArgumentsForCall()
6724 InitializedEntity Entity = InitializedEntity::InitializeParameter( in BuildResolvedCallExpr()
6825 InitializedEntity Entity in BuildCompoundLiteralExpr()
6826 = InitializedEntity::InitializeCompoundLiteralInit(TInfo); in BuildCompoundLiteralExpr()
13848 InitializedEntity Entity = in CreateBuiltinBinOp()
13849 InitializedEntity::InitializeTemporary(LHSExpr->getType()); in CreateBuiltinBinOp()
[all …]

12