Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/clang/lib/AST/
H A DAPValue.cpp951 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 DExprClassification.cpp57 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 DExprConstant.cpp1997 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 DComputeDependence.cpp64 Result.Val.isLValue()) { in computeDependence()
H A DExpr.cpp299 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 DTransBlockObjCVariable.cpp56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaFixItUtils.cpp132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
H A DSemaStmtAsm.cpp95 if (E->isLValue()) in CheckAsmLValue()
101 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
H A DSemaCast.cpp820 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 DSemaInit.cpp4866 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 DSemaStmt.cpp149 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 DSemaAttr.cpp410 if (E->isLValue()) in ConstantFoldAttrArgs()
H A DSemaOpenMP.cpp11702 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 DSemaOverload.cpp4907 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 DSemaTemplate.cpp6531 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 DSemaExpr.cpp537 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 DExplodedGraph.cpp51 if (!Ex->isLValue()) in isInterestingLValueExpr()
H A DBugReporterVisitors.cpp2177 if (UO->getOpcode() == UO_AddrOf && UO->getSubExpr()->isLValue()) in peelOffOuterExpr()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DLiveVariables.cpp447 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
H A DBodyFarm.cpp475 assert(Deref->isLValue()); in create_call_once()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DAPValue.h398 bool isLValue() const { return Kind == LValue; }
H A DExpr.h271 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 DCGStmtOpenMP.cpp5990 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 DCGOpenMPRuntimeGPU.cpp411 if (Arg->isLValue()) { in VisitCallExpr()
461 if (!E->isLValue()) in VisitExpr()
H A DCGDecl.cpp732 if (srcExpr->isLValue()) { in tryEmitARCCopyWeakInit()

12