Home
last modified time | relevance | path

Searched refs:isLValue (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/AST/
DAPValue.cpp514 assert(isLValue() && "Invalid accessor"); in getLValueBase()
519 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()
524 assert(isLValue() && "Invalid accessor"); in getLValueOffset()
529 assert(isLValue() && "Invalid accessor"); in hasLValuePath()
534 assert(isLValue() && hasLValuePath() && "Invalid accessor"); in getLValuePath()
540 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()
546 assert(isLValue() && "Invalid accessor"); in setLValue()
558 assert(isLValue() && "Invalid accessor"); in setLValue()
DExprConstant.cpp165 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator()
715 assert(V.isLValue()); in setFrom()
929 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
1089 if (Value.isLValue()) { in CheckConstantExpression()
1567 if (O->isLValue()) { in ExtractSubobject()
1828 if (isa<ParmVarDecl>(VD) || !VD->getAnyInitializer()->isLValue()) in HandleLValueToRValueConversion()
3755 assert((V.isArray() || V.isLValue()) && in Success()
3974 if (V.isLValue() || V.isAddrLabelDiff()) { in Success()
4645 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()
4658 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()
[all …]
DExprClassification.cpp560 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp133 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
DSemaStmtAsm.cpp52 if (E->isLValue()) in CheckAsmLValue()
58 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
DSemaCast.cpp592 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1026 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1360 if (DestTypeTmp->isLValueReferenceType() && !SrcExpr->isLValue()) { in TryConstCast()
DSemaStmt.cpp117 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
125 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
1570 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
DSemaInit.cpp3389 if (InitCategory.isLValue() && in TryReferenceInitializationCore()
3452 Sequence.SetFailed(InitCategory.isLValue() in TryReferenceInitializationCore()
3576 InitCategory.isLValue()) { in TryReferenceInitializationCore()
5734 << Args[0]->isLValue() in Diagnose()
5747 << Args[0]->isLValue() in Diagnose()
DSemaOverload.cpp4193 if (InitCategory.isLValue() && in TryReferenceInit()
4268 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4360 isRValRef && Init->Classify(S.Context).isLValue()) in TryReferenceInit()
4689 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization()
4743 if (!FromClassification.isLValue() && Quals != Qualifiers::Const) { in TryObjectArgumentInitialization()
8247 } else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() && in DiagnoseBadConversion()
DSemaExprCXX.cpp3765 case ET_IsLValueExpr: return E->isLValue(); in EvaluateExpressionTrait()
3898 if (!isIndirect && !LHS.get()->Classify(Context).isLValue()) in CheckPointerToMemberOperands()
3951 bool ToIsLvalue = To->isLValue(); in TryClassUnification()
DSemaTemplateDeduction.cpp2911 Arg->Classify(S.Context).isLValue() && in AdjustFunctionParmAndArgTypesForDeduction()
2939 Arg->isLValue()) in AdjustFunctionParmAndArgTypesForDeduction()
DSemaExpr.cpp427 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion()
7638 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()
DSemaTemplate.cpp3621 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument()
DSemaChecking.cpp4088 assert(result.isLValue() || result.isAddrLabelDiff()); in GetValueRange()
DSemaDeclCXX.cpp9102 assert(!From.get()->isLValue() && // could be xvalue or prvalue in DefineImplicitMoveAssignment()
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp60 if (!Ex->isLValue()) in isInterestingLValueExpr()
/external/clang/include/clang/AST/
DAPValue.h180 bool isLValue() const { return Kind == LValue; } in isLValue() function
DExpr.h250 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function
350 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
/external/clang/lib/Analysis/
DLiveVariables.cpp432 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
/external/llvm/docs/
DCodingStandards.rst762 ``isLValue()``). Different kinds of declarations have different rules: