Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/unittests/AST/
DEvaluateAsRValueTest.cpp45 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); in VisitVarDecl()
83 TEST(EvaluateAsRValue, FailsGracefullyForUnknownTypes) { in TEST() argument
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp46 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/
DStringConstructorCheck.cpp167 Ptr->EvaluateAsRValue(ConstPtr, Ctx) && in check()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp399 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) { in ActOnGCCAsmStmt()
728 if (IsEnum && Res->EvaluateAsRValue(Eval, Context)) in FillInlineAsmIdentifierInfo()
DSemaConcept.cpp175 if (!SubstitutedAtomicExpr.get()->EvaluateAsRValue(EvalResult, S.Context)) { in calculateConstraintSatisfaction()
DSemaChecking.cpp10620 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange()
12098 if (E->EvaluateAsRValue(result, S.Context)) { in CheckImplicitConversion()
DSemaTemplate.cpp6284 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument()
/external/clang/lib/AST/
DExprConstant.cpp1265 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/
DExprConstant.cpp1822 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/
DHover.cpp351 if (E->isValueDependent() || !E->EvaluateAsRValue(Constant, Ctx) || in printExprValue()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1247 Success = E->EvaluateAsRValue(Result, Context); in EmitConstantExpr()
DCodeGenModule.cpp3572 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary()
DCGExpr.cpp1157 refExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp1723 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
DCGStmt.cpp2062 InputExpr->EvaluateAsRValue(EVResult, getContext(), true); in EmitAsmInput()
DCGExprScalar.cpp2031 if (E->EvaluateAsRValue(Result, CGF.getContext()) && in VisitCastExpr()
DCodeGenModule.cpp5338 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary()
DCGExpr.cpp1506 refExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
/external/clang/lib/Analysis/
DCFG.cpp859 S->EvaluateAsRValue(outResult, *Context); in tryEvaluate()
/external/clang/include/clang/AST/
DExpr.h577 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const;
/external/clang/lib/Sema/
DSemaChecking.cpp7118 if (E->EvaluateAsRValue(result, C)) in GetExprRange()
8245 if (E->EvaluateAsRValue(result, S.Context)) { in CheckImplicitConversion()
DSemaTemplate.cpp4342 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument()
/external/llvm-project/clang/include/clang/AST/
DExpr.h623 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx,
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp1172 S->EvaluateAsRValue(outResult, *Context); in tryEvaluate()
/external/clang/tools/libclang/
DCIndex.cpp3522 if (!expr->EvaluateAsRValue(ER, ctx)) in evaluateExpr()

12