Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp961 if (isLValue() && isNullPointer()) { in toIntegralConstant()
966 if (isLValue() && !getLValueBase()) { in toIntegralConstant()
975 assert(isLValue() && "Invalid accessor"); in getLValueBase()
980 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()
985 assert(isLValue() && "Invalid accessor"); in getLValueOffset()
990 assert(isLValue() && "Invalid accessor"); in hasLValuePath()
995 assert(isLValue() && hasLValuePath() && "Invalid accessor"); in getLValuePath()
1001 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()
1006 assert(isLValue() && "Invalid accessor"); in getLValueVersion()
1011 assert(isLValue() && "Invalid usage"); in isNullPointer()
[all …]
H A DExprClassification.cpp57 assert(isLValue()); in ClassifyImpl()
156 return !E->isLValue() ? ClassifyTemporary(E->getType()) : Cl::CL_LValue; in ClassifyInternal()
660 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
H A DTemplateBase.cpp234 if (V.isLValue() && V.hasLValuePath() && V.getLValuePath().empty() && in getAsSimpleValueDeclRef()
246 else if ((V.isLValue() && V.isNullPointer()) || in TemplateArgument()
H A DExprConstant.cpp289 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator()
292 assert(V.isLValue() && "Non-LValue used to make an LValue designator?"); in SubobjectDesignator()
1634 assert(V.isLValue() && "Setting LValue from a non-LValue?"); in setFrom()
2080 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
2508 if (Value.isLValue() && in CheckEvaluationResult()
2756 assert(Value.isLValue() && "integral value neither int nor lvalue?"); in truncateBitfieldValue()
3055 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
5943 assert(Result.isLValue() && in HandleCovariantReturnAdjustment()
6249 if (NonNull && V.isLValue() && V.isNullPointer()) { in EvaluateCallArg()
7636 assert(SourceValue.isLValue() && in handleLValueToRValueBitCast()
[all …]
H A DComputeDependence.cpp64 Result.Val.isLValue()) { in computeDependence()
H A DExpr.cpp235 if (Value.isLValue() && Value.getLValueOffset().isZero()) in getAsBuiltinConstantDeclRef()
4068 assert((E->isLValue() && E->getObjectKind() == OK_ObjCProperty) && in getObjCProperty()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.h89 bool isLValue() const { return Kind == LValue; } in isLValue() function
H A DCompiler.cpp833 if (!BO->isLValue()) in VisitBinaryOperator()
2317 if (T && !E->isLValue()) in VisitCompoundLiteralExpr()
2337 if (T && !E->isLValue()) { in VisitCompoundLiteralExpr()
2596 assert(Val.isLValue()); in VisitSourceLocExpr()
3791 if (Val.isLValue()) { in visitAPValue()
3820 if (F.isInt() || F.isFloat() || F.isLValue() || F.isMemberPointer()) { in visitAPValueInitializer()
5111 if (SubExpr->isLValue()) { in VisitComplexUnaryOperator()
5348 if (SubExpr->isLValue()) { in emitComplexReal()
H A DInterpBuiltin.cpp612 assert(Call->getArg(0)->isLValue()); in interp__builtin_addressof()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
H A DSemaStmtAsm.cpp96 if (E->isLValue()) in CheckAsmLValue()
102 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
H A DSemaCast.cpp851 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1560 msg = SrcExpr->isLValue() ? diag::err_bad_lvalue_to_rvalue_cast in TryLValueToRValueCast()
1600 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1959 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
H A DSemaInit.cpp5143 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore()
5216 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore()
5342 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
5411 InitCategory.isLValue()) { in TryReferenceInitializationCore()
7920 assert(CurInit.get()->isLValue() && in Perform()
8828 << OnlyArg->isLValue() in Diagnose()
8839 << OnlyArg->isLValue() in Diagnose()
H A DSemaAttr.cpp421 if (E->isLValue()) in ConstantFoldAttrArgs()
H A DSemaOpenMP.cpp11635 if (ShouldBeLValue && !E->isLValue()) { in CheckValue()
12496 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective()
12497 const Expr *NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective()
12559 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective()
19661 if (!Depobj->isLValue()) { in ActOnOpenMPDepobjClause()
19892 if (!RefExpr->isLValue()) { in ActOnOpenMPDependClause()
19934 (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause()
20434 if (SemaRef.getLangOpts().OpenMP < 50 || !UO->isLValue() || in VisitUnaryOperator()
20995 if (!RE->isLValue()) { in checkMappableExpressionList()
23032 !AllocatorExprType.isConstant(Context) && AllocatorExpr->isLValue(); in ActOnOpenMPUsesAllocatorClause()
[all …]
H A DSemaTemplate.cpp5984 if ((EvalResult.Val.isLValue() && EvalResult.Val.isNullPointer()) || in isNullPointerValueTemplateArgument()
6002 if (EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) { in isNullPointerValueTemplateArgument()
6718 if (Value.isLValue()) { in CheckTemplateArgument()
7313 assert(ParamType->isReferenceType() == RefExpr.get()->isLValue() && in BuildExpressionFromDeclTemplateArgument()
H A DSemaStmt.cpp155 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
178 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
H A DSemaObjC.cpp91 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp51 if (!Ex->isLValue()) in isInterestingLValueExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp447 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp743 if (DesugaredTy->isRecordType() && E->isLValue()) { in transformForValuePrinting()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp399 if (Arg->isLValue()) { in VisitCallExpr()
449 if (!E->isLValue()) in VisitExpr()
H A DCGStmtOpenMP.cpp6094 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
6095 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
6125 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in emitOMPAtomicWriteExpr()
6303 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in emitOMPAtomicUpdateExpr()
6361 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
6362 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h277 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function
380 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function

12