Searched refs:EvaluateAsRValue (Results 1 – 13 of 13) sorted by relevance
/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/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/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()
|
D | CGBuiltin.cpp | 470 if (E->EvaluateAsRValue(Result, CGM.getContext()) && in EmitBuiltinExpr()
|
/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()
|
D | SemaOverload.cpp | 5220 : !Result.get()->EvaluateAsRValue(Eval, S.Context)) || in CheckConvertedConstantExpression()
|
D | SemaExpr.cpp | 12719 bool Folded = E->EvaluateAsRValue(EvalResult, Context) && in VerifyIntegerConstantExpression()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3522 if (!expr->EvaluateAsRValue(ER, ctx)) in evaluateExpr()
|