/external/clang/lib/AST/ |
D | APValue.cpp | 554 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()
|
D | ExprConstant.cpp | 194 : 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 …]
|
D | ExprClassification.cpp | 590 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 133 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
|
D | SemaStmtAsm.cpp | 42 if (E->isLValue()) in CheckAsmLValue() 48 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
|
D | SemaCast.cpp | 634 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast() 1206 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast() 1562 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
|
D | SemaInit.cpp | 4107 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()
|
D | SemaOpenMP.cpp | 4958 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()
|
D | SemaStmt.cpp | 138 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison() 157 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison() 1801 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
|
D | SemaOverload.cpp | 4273 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()
|
D | SemaExprCXX.cpp | 4496 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()
|
D | SemaTemplateDeduction.cpp | 3147 Arg->isLValue()) in AdjustFunctionParmAndArgTypesForDeduction()
|
D | SemaExpr.cpp | 536 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion() 9219 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture() 14200 if (E->isLValue()) { in VisitCallExpr()
|
D | SemaTemplate.cpp | 4331 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument()
|
D | SemaChecking.cpp | 6205 assert(result.isLValue() || result.isAddrLabelDiff()); in GetValueRange()
|
D | SemaDeclCXX.cpp | 10737 assert(!From.build(*this, Loc)->isLValue() && // could be xvalue or prvalue in DefineImplicitMoveAssignment()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExplodedGraph.cpp | 60 if (!Ex->isLValue()) in isInterestingLValueExpr()
|
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 2163 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/ |
D | APValue.h | 186 bool isLValue() const { return Kind == LValue; } in isLValue() function
|
D | Expr.h | 246 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/ |
D | LiveVariables.cpp | 411 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
|
/external/llvm/docs/ |
D | CodingStandards.rst | 1106 ``isLValue()``). Different kinds of declarations have different rules:
|