| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | APValue.cpp | 880 if (isLValue() && isNullPointer()) { in toIntegralConstant() 885 if (isLValue() && !getLValueBase()) { in toIntegralConstant() 894 assert(isLValue() && "Invalid accessor"); in getLValueBase() 899 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd() 904 assert(isLValue() && "Invalid accessor"); in getLValueOffset() 909 assert(isLValue() && "Invalid accessor"); in hasLValuePath() 914 assert(isLValue() && hasLValuePath() && "Invalid accessor"); in getLValuePath() 920 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex() 925 assert(isLValue() && "Invalid accessor"); in getLValueVersion() 930 assert(isLValue() && "Invalid usage"); in isNullPointer() [all …]
|
| H A D | ExprClassification.cpp | 150 return !E->isLValue() ? ClassifyTemporary(E->getType()) : Cl::CL_LValue; in ClassifyInternal() 623 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
| H A D | ExprConstant.cpp | 281 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator() 284 assert(V.isLValue() && "Non-LValue used to make an LValue designator?"); in SubobjectDesignator() 1576 assert(V.isLValue() && "Setting LValue from a non-LValue?"); in setFrom() 1994 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue() 2396 if (Value.isLValue() && in CheckEvaluationResult() 2644 assert(Value.isLValue() && "integral value neither int nor lvalue?"); in truncateBitfieldValue() 2967 assert(LHSValue.isLValue() && in handleVectorVectorBinOp() 5704 assert(Result.isLValue() && in HandleCovariantReturnAdjustment() 6003 if (NonNull && V.isLValue() && V.isNullPointer()) { in EvaluateCallArg() 7227 assert(SourceValue.isLValue() && in handleLValueToRValueBitCast() [all …]
|
| H A D | ComputeDependence.cpp | 62 Result.Val.isLValue()) { in computeDependence()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransBlockObjCVariable.cpp | 56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
|
| H A D | SemaStmtAsm.cpp | 94 if (E->isLValue()) in CheckAsmLValue() 100 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
|
| H A D | SemaCast.cpp | 810 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast() 1493 msg = SrcExpr->isLValue() ? diag::err_bad_lvalue_to_rvalue_cast in TryLValueToRValueCast() 1533 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast() 1891 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
|
| H A D | SemaInit.cpp | 4809 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore() 4882 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore() 5008 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore() 5076 InitCategory.isLValue()) { in TryReferenceInitializationCore() 8397 assert(CurInit.get()->isLValue() && in Perform() 9207 << OnlyArg->isLValue() in Diagnose() 9218 << OnlyArg->isLValue() in Diagnose()
|
| H A D | SemaStmt.cpp | 149 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison() 172 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison() 2296 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
|
| H A D | SemaOpenMP.cpp | 10743 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective() 10744 const Expr *NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective() 10806 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective() 17750 if (!Depobj->isLValue()) { in ActOnOpenMPDepobjClause() 17919 if (!RefExpr->isLValue()) { in ActOnOpenMPDependClause() 17966 if (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause() 18445 if (SemaRef.getLangOpts().OpenMP < 50 || !UO->isLValue() || in VisitUnaryOperator() 19003 if (!RE->isLValue()) { in checkMappableExpressionList() 20751 !AllocatorExpr->isLValue()))) { in ActOnOpenMPUsesAllocatorClause() 20845 if (!SimpleExpr->isLValue()) { in ActOnOpenMPAffinityClause()
|
| H A D | SemaExprCXX.cpp | 5638 case ET_IsLValueExpr: return E->isLValue(); in EvaluateExpressionTrait() 5777 if (!isIndirect && !LHS.get()->Classify(Context).isLValue()) { in CheckPointerToMemberOperands() 5844 if (To->isLValue() || To->isXValue()) { in TryClassUnification() 5845 QualType T = To->isLValue() ? Self.Context.getLValueReferenceType(ToType) in TryClassUnification()
|
| H A D | SemaOverload.cpp | 4802 if (InitCategory.isLValue() && RefRelationship == Sema::Ref_Compatible) { in TryReferenceInit() 4853 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit() 4934 Init->Classify(S.Context).isLValue()) { in TryReferenceInit() 5317 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization() 5381 if (!FromClassification.isLValue() && !Quals.hasOnlyConst()) { in TryObjectArgumentInitialization()
|
| H A D | SemaTemplateInstantiate.cpp | 1532 if (argExpr->isLValue()) { in transformNonTypeTemplateParmRef()
|
| H A D | SemaExpr.cpp | 517 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion() 5447 if (Op->getType()->isArrayType() && !Op->isLValue()) in CreateBuiltinArraySubscriptExpr() 12582 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture() 19200 if (E->isLValue()) { in VisitCallExpr()
|
| H A D | SemaTemplate.cpp | 6304 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument() 7554 assert(ParamType->isReferenceType() == RefExpr.get()->isLValue() && in BuildExpressionFromDeclTemplateArgument()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 51 if (!Ex->isLValue()) in isInterestingLValueExpr()
|
| H A D | BugReporterVisitors.cpp | 1992 if (UO->getOpcode() == UO_AddrOf && UO->getSubExpr()->isLValue()) in peelOffOuterExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 425 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
|
| H A D | BodyFarm.cpp | 443 assert(Deref->isLValue()); in create_call_once()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | APValue.h | 398 bool isLValue() const { return Kind == LValue; }
|
| H A D | Expr.h | 272 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function 375 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 5394 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr() 5395 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr() 5425 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in emitOMPAtomicWriteExpr() 5579 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in emitOMPAtomicUpdateExpr() 5637 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr() 5638 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 430 if (Arg->isLValue()) { in VisitCallExpr() 481 if (!E->isLValue()) in VisitExpr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
| H A D | CodingStandards.rst | 1085 ``isLValue()``). Different kinds of declarations have different rules:
|