Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DAPValue.cpp554 assert(isLValue() && "Invalid accessor"); in getLValueBase()
559 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()
564 assert(isLValue() && "Invalid accessor"); in getLValueOffset()
569 assert(isLValue() && "Invalid accessor"); in hasLValuePath()
574 assert(isLValue() && hasLValuePath() && "Invalid accessor"); in getLValuePath()
580 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()
586 assert(isLValue() && "Invalid accessor"); in setLValue()
598 assert(isLValue() && "Invalid accessor"); in setLValue()
DExprConstant.cpp194 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator()
1014 assert(V.isLValue()); in setFrom()
1278 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
1478 if (Value.isLValue()) { in CheckConstantExpression()
1639 assert(Value.isLValue() && "integral value neither int nor lvalue?"); in truncateBitfieldValue()
2336 if (O->isLValue()) { in findSubobject()
5812 assert((V.isArray() || V.isLValue()) && in Success()
6050 if (V.isLValue() || V.isAddrLabelDiff()) { in Success()
7086 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()
7099 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()
[all …]
DExprClassification.cpp590 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.cpp42 if (E->isLValue()) in CheckAsmLValue()
48 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
DSemaCast.cpp634 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1206 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1562 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
DSemaInit.cpp4107 if (InitCategory.isLValue() && in TryReferenceInitializationCore()
4167 Sequence.SetFailed(InitCategory.isLValue() in TryReferenceInitializationCore()
4240 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
4299 InitCategory.isLValue()) { in TryReferenceInitializationCore()
7050 << Args[0]->isLValue() in Diagnose()
7061 << Args[0]->isLValue() in Diagnose()
DSemaOpenMP.cpp4958 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective()
4959 auto NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective()
5020 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective()
8044 if (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause()
8169 if (!RE->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPMapClause()
DSemaStmt.cpp138 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
157 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
1801 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
DSemaOverload.cpp4273 if (InitCategory.isLValue() && in TryReferenceInit()
4339 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4436 isRValRef && Init->Classify(S.Context).isLValue()) in TryReferenceInit()
4821 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization()
4875 if (!FromClassification.isLValue() && Quals != Qualifiers::Const) { in TryObjectArgumentInitialization()
9105 } else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() && in DiagnoseBadConversion()
DSemaExprCXX.cpp4496 case ET_IsLValueExpr: return E->isLValue(); in EvaluateExpressionTrait()
4630 if (!isIndirect && !LHS.get()->Classify(Context).isLValue()) in CheckPointerToMemberOperands()
4683 bool ToIsLvalue = To->isLValue(); in TryClassUnification()
DSemaTemplateDeduction.cpp3147 Arg->isLValue()) in AdjustFunctionParmAndArgTypesForDeduction()
DSemaExpr.cpp536 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion()
9219 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()
14200 if (E->isLValue()) { in VisitCallExpr()
DSemaTemplate.cpp4331 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument()
DSemaChecking.cpp6205 assert(result.isLValue() || result.isAddrLabelDiff()); in GetValueRange()
DSemaDeclCXX.cpp10737 assert(!From.build(*this, Loc)->isLValue() && // could be xvalue or prvalue in DefineImplicitMoveAssignment()
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp60 if (!Ex->isLValue()) in isInterestingLValueExpr()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp2163 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in EmitOMPAtomicReadExpr()
2164 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in EmitOMPAtomicReadExpr()
2186 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in EmitOMPAtomicWriteExpr()
2325 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in EmitOMPAtomicUpdateExpr()
2371 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in EmitOMPAtomicCaptureExpr()
2372 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in EmitOMPAtomicCaptureExpr()
/external/clang/include/clang/AST/
DAPValue.h186 bool isLValue() const { return Kind == LValue; } in isLValue() function
DExpr.h246 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function
347 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
/external/clang/lib/Analysis/
DLiveVariables.cpp411 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
/external/llvm/docs/
DCodingStandards.rst1106 ``isLValue()``). Different kinds of declarations have different rules: