Home
last modified time | relevance | path

Searched refs:InitCategory (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaInit.cpp4217 Expr::Classification InitCategory = Initializer->Classify(S.Context); in TryReferenceInitializationCore() local
4234 if (InitCategory.isLValue() && in TryReferenceInitializationCore()
4271 (isLValueRef || InitCategory.isRValue())) { in TryReferenceInitializationCore()
4294 Sequence.SetFailed(InitCategory.isLValue() in TryReferenceInitializationCore()
4311 (InitCategory.isXValue() || in TryReferenceInitializationCore()
4312 (InitCategory.isPRValue() && T2->isRecordType()) || in TryReferenceInitializationCore()
4313 (InitCategory.isPRValue() && T2->isArrayType()))) { in TryReferenceInitializationCore()
4314 ExprValueKind ValueKind = InitCategory.isXValue()? VK_XValue : VK_RValue; in TryReferenceInitializationCore()
4315 if (InitCategory.isPRValue() && T2->isRecordType()) { in TryReferenceInitializationCore()
4367 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
[all …]
DSemaOverload.cpp4314 Expr::Classification InitCategory = Init->Classify(S.Context); in TryReferenceInit() local
4330 if (InitCategory.isLValue() && in TryReferenceInit()
4394 (InitCategory.isXValue() || in TryReferenceInit()
4395 (InitCategory.isPRValue() && (T2->isRecordType() || T2->isArrayType())) || in TryReferenceInit()
4396 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4415 !(InitCategory.isPRValue() || T2->isRecordType()); in TryReferenceInit()
4418 ICS.Standard.BindsToRvalue = InitCategory.isRValue(); in TryReferenceInit()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp4730 Expr::Classification InitCategory = Initializer->Classify(S.Context); in TryReferenceInitializationCore() local
4748 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore()
4790 (isLValueRef || InitCategory.isRValue())) { in TryReferenceInitializationCore()
4821 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore()
4867 ((InitCategory.isXValue() && !isNonReferenceableGLValue(Initializer)) || in TryReferenceInitializationCore()
4868 (InitCategory.isPRValue() && in TryReferenceInitializationCore()
4871 ExprValueKind ValueKind = InitCategory.isXValue() ? VK_XValue : VK_RValue; in TryReferenceInitializationCore()
4872 if (InitCategory.isPRValue() && T2->isRecordType()) { in TryReferenceInitializationCore()
4947 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
5015 InitCategory.isLValue()) { in TryReferenceInitializationCore()
DSemaOverload.cpp4750 Expr::Classification InitCategory = Init->Classify(S.Context); in TryReferenceInit() local
4781 ICS.Standard.BindsToRvalue = InitCategory.isRValue(); in TryReferenceInit()
4799 if (InitCategory.isLValue() && RefRelationship == Sema::Ref_Compatible) { in TryReferenceInit()
4837 if (InitCategory.isRValue() && RefRelationship != Sema::Ref_Incompatible) in TryReferenceInit()
4847 (InitCategory.isXValue() || in TryReferenceInit()
4848 (InitCategory.isPRValue() && in TryReferenceInit()
4850 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4857 !(InitCategory.isPRValue() || T2->isRecordType())); in TryReferenceInit()