/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | APValue.cpp | 951 if (isLValue() && isNullPointer()) { in toIntegralConstant() 956 if (isLValue() && !getLValueBase()) { in toIntegralConstant() 965 assert(isLValue() && "Invalid accessor"); in getLValueBase() 970 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd() 975 assert(isLValue() && "Invalid accessor"); in getLValueOffset() 980 assert(isLValue() && "Invalid accessor"); in hasLValuePath() 991 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex() 996 assert(isLValue() && "Invalid accessor"); in getLValueVersion() 1001 assert(isLValue() && "Invalid usage"); in isNullPointer() 1007 assert(isLValue() && "Invalid accessor"); in setLValue() [all …]
|
H A D | ExprClassification.cpp | 57 assert(isLValue()); in ClassifyImpl() 156 return !E->isLValue() ? ClassifyTemporary(E->getType()) : Cl::CL_LValue; in ClassifyInternal() 637 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
H A D | ExprConstant.cpp | 1997 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue() 2414 if (Value.isLValue() && in CheckEvaluationResult() 2986 assert(LHSValue.isLValue() && in handleVectorVectorBinOp() 5797 assert(Result.isLValue() && in HandleCovariantReturnAdjustment() 6096 if (NonNull && V.isLValue() && V.isNullPointer()) { in EvaluateCallArg() 7316 assert(SourceValue.isLValue() && in handleLValueToRValueBitCast() 10611 if (SubExprValue.isLValue()) in VisitUnaryOperator() 11922 if (Src.isLValue()) { in VisitBuiltinCallExpr() 12737 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp() 12743 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { in VisitBinOp() [all …]
|
H A D | ComputeDependence.cpp | 64 Result.Val.isLValue()) { in computeDependence()
|
H A D | Expr.cpp | 299 if (Value.isLValue() && Value.getLValueOffset().isZero()) in getAsBuiltinConstantDeclRef() 3994 assert((E->isLValue() && E->getObjectKind() == OK_ObjCProperty) && in getObjCProperty()
|
/openbsd/gnu/llvm/clang/lib/ARCMigrate/ |
H A D | TransBlockObjCVariable.cpp | 56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaFixItUtils.cpp | 132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
|
H A D | SemaStmtAsm.cpp | 95 if (E->isLValue()) in CheckAsmLValue() 101 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
|
H A D | SemaCast.cpp | 820 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast() 1521 msg = SrcExpr->isLValue() ? diag::err_bad_lvalue_to_rvalue_cast in TryLValueToRValueCast() 1561 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast() 1919 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
|
H A D | SemaInit.cpp | 4866 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore() 4939 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore() 5065 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore() 5133 InitCategory.isLValue()) { in TryReferenceInitializationCore() 8806 assert(CurInit.get()->isLValue() && in Perform() 9631 << OnlyArg->isLValue() in Diagnose() 9642 << 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() 2337 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
|
H A D | SemaAttr.cpp | 410 if (E->isLValue()) in ConstantFoldAttrArgs()
|
H A D | SemaOpenMP.cpp | 11702 if (ShouldBeLValue && !E->isLValue()) { in CheckValue() 12552 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective() 12553 const Expr *NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective() 12615 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective() 20482 if (!Depobj->isLValue()) { in ActOnOpenMPDepobjClause() 20660 if (!RefExpr->isLValue()) { in ActOnOpenMPDependClause() 20698 (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause() 21198 if (SemaRef.getLangOpts().OpenMP < 50 || !UO->isLValue() || in VisitUnaryOperator() 21758 if (!RE->isLValue()) { in checkMappableExpressionList() 23690 !AllocatorExprType.isConstant(Context) && AllocatorExpr->isLValue(); in ActOnOpenMPUsesAllocatorClause() [all …]
|
H A D | SemaOverload.cpp | 4907 if (InitCategory.isLValue() && RefRelationship == Sema::Ref_Compatible) { in TryReferenceInit() 4958 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit() 5039 Init->Classify(S.Context).isLValue()) { in TryReferenceInit() 5472 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization() 5536 if (!FromClassification.isLValue() && !Quals.hasOnlyConst()) { in TryObjectArgumentInitialization()
|
H A D | SemaTemplate.cpp | 6531 if ((EvalResult.Val.isLValue() && EvalResult.Val.isNullPointer()) || in isNullPointerValueTemplateArgument() 6549 if (EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) { in isNullPointerValueTemplateArgument() 7854 assert(ParamType->isReferenceType() == RefExpr.get()->isLValue() && in BuildExpressionFromDeclTemplateArgument()
|
H A D | SemaExpr.cpp | 537 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) { in DefaultFunctionArrayConversion() 4168 !E->isLValue() && ExprTy->hasFloatingRepresentation()) in ActOnParenExpr() 5659 if (Op->getType()->isArrayType() && !Op->isLValue()) in CreateBuiltinArraySubscriptExpr() 10794 if (LHS.get()->isLValue() || in CheckVectorOperands() 10912 if (LHS.get()->isLValue() || in CheckSizelessVectorOperands() 13693 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
H A D | ExplodedGraph.cpp | 51 if (!Ex->isLValue()) in isInterestingLValueExpr()
|
H A D | BugReporterVisitors.cpp | 2177 if (UO->getOpcode() == UO_AddrOf && UO->getSubExpr()->isLValue()) in peelOffOuterExpr()
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 447 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
|
H A D | BodyFarm.cpp | 475 assert(Deref->isLValue()); in create_call_once()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | APValue.h | 398 bool isLValue() const { return Kind == LValue; }
|
H A D | Expr.h | 271 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function 374 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 5990 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr() 5991 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr() 6021 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in emitOMPAtomicWriteExpr() 6200 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in emitOMPAtomicUpdateExpr() 6258 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr() 6259 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
|
H A D | CGOpenMPRuntimeGPU.cpp | 411 if (Arg->isLValue()) { in VisitCallExpr() 461 if (!E->isLValue()) in VisitExpr()
|
H A D | CGDecl.cpp | 732 if (srcExpr->isLValue()) { in tryEmitARCCopyWeakInit()
|