Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DAPValue.cpp548 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()
DExprConstant.cpp183 : 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 …]
DExprClassification.cpp569 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/
DSemaStmtAsm.cpp40 if (E->isLValue()) in CheckAsmLValue()
46 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
DSemaFixItUtils.cpp133 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
DSemaCast.cpp594 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1141 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1489 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
DSemaInit.cpp3655 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()
DSemaStmt.cpp131 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
139 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
1711 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
DSemaOverload.cpp4160 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()
DSemaExprCXX.cpp3918 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()
DSemaTemplateDeduction.cpp3116 Arg->Classify(S.Context).isLValue() && in AdjustFunctionParmAndArgTypesForDeduction()
3144 Arg->isLValue()) in AdjustFunctionParmAndArgTypesForDeduction()
DSemaExpr.cpp461 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion()
8063 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()
12455 if (E->isLValue()) { in VisitCallExpr()
DSemaTemplate.cpp4079 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument()
DSemaChecking.cpp4413 assert(result.isLValue() || result.isAddrLabelDiff()); in GetValueRange()
DSemaDeclCXX.cpp9601 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.h187 bool isLValue() const { return Kind == LValue; } in isLValue() function
DExpr.h250 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function
349 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: