Home
last modified time | relevance | path

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

/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); in VisitVarDecl()
84 TEST(EvaluateAsRValue, FailsGracefullyForUnknownTypes) { in TEST() argument
/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/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()
DCGBuiltin.cpp470 if (E->EvaluateAsRValue(Result, CGM.getContext()) && in EmitBuiltinExpr()
/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()
DSemaOverload.cpp5220 : !Result.get()->EvaluateAsRValue(Eval, S.Context)) || in CheckConvertedConstantExpression()
DSemaExpr.cpp12719 bool Folded = E->EvaluateAsRValue(EvalResult, Context) && in VerifyIntegerConstantExpression()
/external/clang/tools/libclang/
DCIndex.cpp3522 if (!expr->EvaluateAsRValue(ER, ctx)) in evaluateExpr()