| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | APValue.cpp | 961 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 D | ExprClassification.cpp | 57 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 D | TemplateBase.cpp | 234 if (V.isLValue() && V.hasLValuePath() && V.getLValuePath().empty() && in getAsSimpleValueDeclRef() 246 else if ((V.isLValue() && V.isNullPointer()) || in TemplateArgument()
|
| H A D | ExprConstant.cpp | 289 : 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 D | ComputeDependence.cpp | 64 Result.Val.isLValue()) { in computeDependence()
|
| H A D | Expr.cpp | 235 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 D | EvaluationResult.h | 89 bool isLValue() const { return Kind == LValue; } in isLValue() function
|
| H A D | Compiler.cpp | 833 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 D | InterpBuiltin.cpp | 612 assert(Call->getArg(0)->isLValue()); in interp__builtin_addressof()
|
| /freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransBlockObjCVariable.cpp | 56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
|
| H A D | SemaStmtAsm.cpp | 96 if (E->isLValue()) in CheckAsmLValue() 102 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
|
| H A D | SemaCast.cpp | 851 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 D | SemaInit.cpp | 5143 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 D | SemaAttr.cpp | 421 if (E->isLValue()) in ConstantFoldAttrArgs()
|
| H A D | SemaOpenMP.cpp | 11635 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 D | SemaTemplate.cpp | 5984 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 D | SemaStmt.cpp | 155 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison() 178 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
|
| H A D | SemaObjC.cpp | 91 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 51 if (!Ex->isLValue()) in isInterestingLValueExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 447 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 743 if (DesugaredTy->isRecordType() && E->isLValue()) { in transformForValuePrinting()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 399 if (Arg->isLValue()) { in VisitCallExpr() 449 if (!E->isLValue()) in VisitExpr()
|
| H A D | CGStmtOpenMP.cpp | 6094 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 D | Expr.h | 277 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function 380 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
|