Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DAPValue.cpp880 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 DExprClassification.cpp150 return !E->isLValue() ? ClassifyTemporary(E->getType()) : Cl::CL_LValue; in ClassifyInternal()
623 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
H A DExprConstant.cpp281 : 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 DComputeDependence.cpp62 Result.Val.isLValue()) { in computeDependence()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaFixItUtils.cpp132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
H A DSemaStmtAsm.cpp94 if (E->isLValue()) in CheckAsmLValue()
100 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
H A DSemaCast.cpp810 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 DSemaInit.cpp4809 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 DSemaStmt.cpp149 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 DSemaOpenMP.cpp10743 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 DSemaExprCXX.cpp5638 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 DSemaOverload.cpp4802 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 DSemaTemplateInstantiate.cpp1532 if (argExpr->isLValue()) { in transformNonTypeTemplateParmRef()
H A DSemaExpr.cpp517 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 DSemaTemplate.cpp6304 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 DExplodedGraph.cpp51 if (!Ex->isLValue()) in isInterestingLValueExpr()
H A DBugReporterVisitors.cpp1992 if (UO->getOpcode() == UO_AddrOf && UO->getSubExpr()->isLValue()) in peelOffOuterExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DLiveVariables.cpp425 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
H A DBodyFarm.cpp443 assert(Deref->isLValue()); in create_call_once()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAPValue.h398 bool isLValue() const { return Kind == LValue; }
H A DExpr.h272 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 DCGStmtOpenMP.cpp5394 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 DCGOpenMPRuntimeGPU.cpp430 if (Arg->isLValue()) { in VisitCallExpr()
481 if (!E->isLValue()) in VisitExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DCodingStandards.rst1085 ``isLValue()``). Different kinds of declarations have different rules:

12