/external/llvm-project/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 45 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); in VisitVarDecl() 83 TEST(EvaluateAsRValue, FailsGracefullyForUnknownTypes) { in TEST() argument
|
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); in VisitVarDecl() 84 TEST(EvaluateAsRValue, FailsGracefullyForUnknownTypes) { in TEST() argument
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | StringConstructorCheck.cpp | 167 Ptr->EvaluateAsRValue(ConstPtr, Ctx) && in check()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 399 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) { in ActOnGCCAsmStmt() 728 if (IsEnum && Res->EvaluateAsRValue(Eval, Context)) in FillInlineAsmIdentifierInfo()
|
D | SemaConcept.cpp | 175 if (!SubstitutedAtomicExpr.get()->EvaluateAsRValue(EvalResult, S.Context)) { in calculateConstraintSatisfaction()
|
D | SemaChecking.cpp | 10620 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange() 12098 if (E->EvaluateAsRValue(result, S.Context)) { in CheckImplicitConversion()
|
D | SemaTemplate.cpp | 6284 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1265 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result); 6543 if (!Arg->EvaluateAsRValue(Result, Ctx) || Result.HasSideEffects) in EvaluateBuiltinConstantP() 6730 if (!EvaluateAsRValue(Info, E, RVal)) in tryEvaluateBuiltinObjectSize() 9094 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result) { in EvaluateAsRValue() function 9150 bool Expr::EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const { in EvaluateAsRValue() function in Expr 9156 return ::EvaluateAsRValue(Info, this, Result.Val); in EvaluateAsRValue() 9162 return EvaluateAsRValue(Scratch, Ctx) && in EvaluateAsBooleanCondition() 9178 if (!EvaluateAsRValue(ExprResult, Ctx) || !ExprResult.Val.isInt() || in EvaluateAsInt() 9192 if (!EvaluateAsRValue(ExprResult, Ctx) || !ExprResult.Val.isFloat() || in EvaluateAsFloat() 9258 return EvaluateAsRValue(Result, Ctx) && in isEvaluatable() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 1822 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result); 11098 if (!::EvaluateAsRValue(Info, Arg, V) || Info.EvalStatus.HasSideEffects) { in EvaluateBuiltinConstantP() 11400 if (!EvaluateAsRValue(Info, E, RVal)) in tryEvaluateBuiltinObjectSize() 14594 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result) { in EvaluateAsRValue() function 14658 static bool EvaluateAsRValue(const Expr *E, Expr::EvalResult &Result, in EvaluateAsRValue() function 14665 return EvaluateAsRValue(Info, E, Result.Val); in EvaluateAsRValue() 14676 if (!::EvaluateAsRValue(E, ExprResult, Ctx, Info) || in EvaluateAsInt() 14692 if (!::EvaluateAsRValue(E, ExprResult, Ctx, Info)) in EvaluateAsFixedPoint() 14707 bool Expr::EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx, in EvaluateAsRValue() function in Expr 14713 return ::EvaluateAsRValue(this, Result, Ctx, Info); in EvaluateAsRValue() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Hover.cpp | 351 if (E->isValueDependent() || !E->EvaluateAsRValue(Constant, Ctx) || in printExprValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1247 Success = E->EvaluateAsRValue(Result, Context); in EmitConstantExpr()
|
D | CodeGenModule.cpp | 3572 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary()
|
D | CGExpr.cpp | 1157 refExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1723 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
|
D | CGStmt.cpp | 2062 InputExpr->EvaluateAsRValue(EVResult, getContext(), true); in EmitAsmInput()
|
D | CGExprScalar.cpp | 2031 if (E->EvaluateAsRValue(Result, CGF.getContext()) && in VisitCastExpr()
|
D | CodeGenModule.cpp | 5338 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary()
|
D | CGExpr.cpp | 1506 refExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 859 S->EvaluateAsRValue(outResult, *Context); in tryEvaluate()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 577 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const;
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 7118 if (E->EvaluateAsRValue(result, C)) in GetExprRange() 8245 if (E->EvaluateAsRValue(result, S.Context)) { in CheckImplicitConversion()
|
D | SemaTemplate.cpp | 4342 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 623 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx,
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 1172 S->EvaluateAsRValue(outResult, *Context); in tryEvaluate()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3522 if (!expr->EvaluateAsRValue(ER, ctx)) in evaluateExpr()
|