Home
last modified time | relevance | path

Searched refs:isLValue (Results 1 – 24 of 24) 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.cpp195 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator()
1090 assert(V.isLValue()); in setFrom()
1354 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
1554 if (Value.isLValue()) { in CheckConstantExpression()
1715 assert(Value.isLValue() && "integral value neither int nor lvalue?"); in truncateBitfieldValue()
2432 if (O->isLValue()) { in findSubobject()
6022 assert((V.isArray() || V.isLValue()) && in Success()
6234 if (V.isLValue() || V.isAddrLabelDiff()) { in Success()
7358 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()
7371 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()
[all …]
DExprClassification.cpp591 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.cpp635 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1207 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1562 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
DSemaInit.cpp4234 if (InitCategory.isLValue() && in TryReferenceInitializationCore()
4294 Sequence.SetFailed(InitCategory.isLValue() in TryReferenceInitializationCore()
4367 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
4426 InitCategory.isLValue()) { in TryReferenceInitializationCore()
7216 << Args[0]->isLValue() in Diagnose()
7227 << Args[0]->isLValue() in Diagnose()
DSemaStmt.cpp139 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
158 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
1822 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
DSemaExprCXX.cpp4760 case ET_IsLValueExpr: return E->isLValue(); in EvaluateExpressionTrait()
4894 if (!isIndirect && !LHS.get()->Classify(Context).isLValue()) in CheckPointerToMemberOperands()
4953 if (To->isLValue() || To->isXValue()) { in TryClassUnification()
4954 QualType T = To->isLValue() ? Self.Context.getLValueReferenceType(ToType) in TryClassUnification()
DSemaOpenMP.cpp6349 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective()
6350 auto NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective()
6411 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective()
10244 if (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause()
10901 if (!RE->IgnoreParenImpCasts()->isLValue()) { in checkMappableExpressionList()
DSemaOverload.cpp4330 if (InitCategory.isLValue() && in TryReferenceInit()
4396 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4496 isRValRef && Init->Classify(S.Context).isLValue()) in TryReferenceInit()
4881 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization()
4935 if (!FromClassification.isLValue() && Quals != Qualifiers::Const) { in TryObjectArgumentInitialization()
9235 } else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() && in DiagnoseBadConversion()
DSemaExpr.cpp548 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion()
7959 !ScalarExpr->get()->isLValue()) { in CheckVectorOperands()
9656 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()
14673 if (E->isLValue()) { in VisitCallExpr()
DSemaTemplateDeduction.cpp3139 Arg->isLValue()) in AdjustFunctionParmAndArgTypesForDeduction()
DSemaTemplate.cpp4372 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument()
DSemaChecking.cpp7098 assert(result.isLValue() || result.isAddrLabelDiff()); in GetValueRange()
DSemaDeclCXX.cpp10865 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/include/clang/AST/
DAPValue.h186 bool isLValue() const { return Kind == LValue; } in isLValue() function
DExpr.h247 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function
348 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp2853 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in EmitOMPAtomicReadExpr()
2854 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in EmitOMPAtomicReadExpr()
2877 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in EmitOMPAtomicWriteExpr()
3016 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in EmitOMPAtomicUpdateExpr()
3063 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in EmitOMPAtomicCaptureExpr()
3064 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in EmitOMPAtomicCaptureExpr()
/external/clang/lib/Analysis/
DLiveVariables.cpp411 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
/external/llvm/docs/
DCodingStandards.rst1106 ``isLValue()``). Different kinds of declarations have different rules:
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DCodingStandards.rst1168 ``isLValue()``). Different kinds of declarations have different rules: