Searched refs:isLValue (Results 1 – 21 of 21) sorted by relevance
548 assert(isLValue() && "Invalid accessor"); in getLValueBase()553 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()558 assert(isLValue() && "Invalid accessor"); in getLValueOffset()563 assert(isLValue() && "Invalid accessor"); in hasLValuePath()568 assert(isLValue() && hasLValuePath() && "Invalid accessor"); in getLValuePath()574 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()580 assert(isLValue() && "Invalid accessor"); in setLValue()592 assert(isLValue() && "Invalid accessor"); in setLValue()
183 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator()808 assert(V.isLValue()); in setFrom()1070 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()1248 if (Value.isLValue()) { in CheckConstantExpression()1397 assert(Value.isLValue() && "integral value neither int nor lvalue?"); in truncateBitfieldValue()2021 if (O->isLValue()) { in findSubobject()5319 assert((V.isArray() || V.isLValue()) && in Success()5564 if (V.isLValue() || V.isAddrLabelDiff()) { in Success()6291 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()6304 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()[all …]
569 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
40 if (E->isLValue()) in CheckAsmLValue()46 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
133 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
594 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()1141 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()1489 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
3655 if (InitCategory.isLValue() && in TryReferenceInitializationCore()3718 Sequence.SetFailed(InitCategory.isLValue() in TryReferenceInitializationCore()3791 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()3850 InitCategory.isLValue()) { in TryReferenceInitializationCore()6361 << Args[0]->isLValue() in Diagnose()6372 << Args[0]->isLValue() in Diagnose()
131 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()139 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()1711 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
4160 if (InitCategory.isLValue() && in TryReferenceInit()4235 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()4327 isRValRef && Init->Classify(S.Context).isLValue()) in TryReferenceInit()4656 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization()4710 if (!FromClassification.isLValue() && Quals != Qualifiers::Const) { in TryObjectArgumentInitialization()8358 } else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() && in DiagnoseBadConversion()
3918 case ET_IsLValueExpr: return E->isLValue(); in EvaluateExpressionTrait()4051 if (!isIndirect && !LHS.get()->Classify(Context).isLValue()) in CheckPointerToMemberOperands()4104 bool ToIsLvalue = To->isLValue(); in TryClassUnification()
3116 Arg->Classify(S.Context).isLValue() && in AdjustFunctionParmAndArgTypesForDeduction()3144 Arg->isLValue()) in AdjustFunctionParmAndArgTypesForDeduction()
461 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion()8063 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()12455 if (E->isLValue()) { in VisitCallExpr()
4079 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument()
4413 assert(result.isLValue() || result.isAddrLabelDiff()); in GetValueRange()
9601 assert(!From.get()->isLValue() && // could be xvalue or prvalue in DefineImplicitMoveAssignment()
60 if (!Ex->isLValue()) in isInterestingLValueExpr()
187 bool isLValue() const { return Kind == LValue; } in isLValue() function
250 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function349 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
432 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
762 ``isLValue()``). Different kinds of declarations have different rules: