/external/clang/include/clang/Sema/ |
D | Initialization.h | 41 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 …]
|
D | Sema.h | 122 class InitializedEntity; variable 2309 ExprResult PerformMoveOrCopyInitialization(const InitializedEntity &Entity, 2315 bool CanPerformCopyInitialization(const InitializedEntity &Entity, 2317 ExprResult PerformCopyInitialization(const InitializedEntity &Entity, 5575 const InitializedEntity &Entity, 5580 const InitializedEntity &Entity,
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 245 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 …]
|
D | SemaExprCXX.cpp | 713 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 …]
|
D | SemaAccess.cpp | 1614 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()
|
D | SemaLambda.cpp | 734 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()
|
D | SemaCoroutine.cpp | 429 InitializedEntity Entity = in CheckCompletedCoroutineBody() 430 InitializedEntity::InitializeResult(Loc, RetType, false); in CheckCompletedCoroutineBody()
|
D | SemaExprObjC.cpp | 350 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()
|
D | SemaDeclCXX.cpp | 262 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 …]
|
D | SemaCast.cpp | 329 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast() 1505 InitializedEntity Entity = InitializedEntity::InitializeTemporary(DestType); in TryStaticImplicitCast()
|
D | SemaStmt.cpp | 2773 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()
|
D | SemaExpr.cpp | 839 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 …]
|
D | SemaChecking.cpp | 1353 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()
|
D | SemaOverload.cpp | 4604 InitializedEntity Entity = in TryListConversion() 4605 InitializedEntity::InitializeParameter(S.Context, ToType, in TryListConversion() 4696 InitializedEntity Entity = in TryListConversion() 4697 InitializedEntity::InitializeParameter(S.Context, ToType, in TryListConversion() 5988 R = PerformCopyInitialization(InitializedEntity::InitializeParameter( in CheckEnableIf() 6009 InitializedEntity::InitializeParameter(Context, in CheckEnableIf() 11585 = PerformCopyInitialization(InitializedEntity::InitializeParameter( in CreateOverloadedUnaryOp() 11789 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp() 11805 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp() 11813 InitializedEntity::InitializeParameter(Context, in CreateOverloadedBinOp() [all …]
|
D | SemaObjCProperty.cpp | 1269 InitializedEntity::InitializeResult(PropertyDiagLoc, in ActOnPropertyImplDecl()
|
D | SemaDecl.cpp | 9691 InitializedEntity Entity = InitializedEntity::InitializeVariable(VDecl); in AddInitializerToDecl() 10201 InitializedEntity Entity = InitializedEntity::InitializeVariable(Var); in ActOnUninitializedDecl() 10417 InitializedEntity::InitializeBlock(poi, type, false), in CheckCompleteVariableDeclaration()
|
D | SemaDeclAttr.cpp | 4075 InitializedEntity Entity = InitializedEntity::InitializeParameter( in makeLaunchBoundsArgExpr()
|
D | SemaOpenMP.cpp | 8564 InitializedEntity Entity = in ActOnOpenMPFirstprivateClause() 8565 InitializedEntity::InitializeVariable(VDInitTemp); in ActOnOpenMPFirstprivateClause()
|