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 | 6144 if (!Arg->EvaluateAsRValue(Result, Ctx) || Result.HasSideEffects) in EvaluateBuiltinConstantP() 8432 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result) { in EvaluateAsRValue() function 8488 bool Expr::EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const { in EvaluateAsRValue() function in Expr 8494 return ::EvaluateAsRValue(Info, this, Result.Val); in EvaluateAsRValue() 8500 return EvaluateAsRValue(Scratch, Ctx) && in EvaluateAsBooleanCondition() 8510 if (!EvaluateAsRValue(ExprResult, Ctx) || !ExprResult.Val.isInt() || in EvaluateAsInt() 8574 return EvaluateAsRValue(Result, Ctx) && !Result.HasSideEffects; in isEvaluatable() 8581 bool Result = EvaluateAsRValue(EvalResult, Ctx); in EvaluateKnownConstInt() 8594 (void)::EvaluateAsRValue(Info, this, EvalResult.Val); in EvaluateForOverflow() 8647 if (!E->EvaluateAsRValue(EVResult, Ctx) || EVResult.HasSideEffects || in CheckEvalInICE() [all …]
|
D | ASTDiagnostic.cpp | 1331 if (!FromExpr->EvaluateAsRValue(FromResult, Context) || in IsEqualExpr() 1332 !ToExpr->EvaluateAsRValue(ToResult, Context)) { in IsEqualExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1057 Success = E->EvaluateAsRValue(Result, Context); in EmitConstantExpr()
|
D | CodeGenModule.cpp | 3059 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary()
|
D | CGExpr.cpp | 1015 refExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
|
D | CGBuiltin.cpp | 218 if (E->EvaluateAsRValue(Result, CGM.getContext()) && in EmitBuiltinExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 568 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const;
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 811 S->EvaluateAsRValue(outResult, *Context); in tryEvaluate()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5733 if (E->EvaluateAsRValue(result, C)) in GetExprRange() 6663 if (E->EvaluateAsRValue(result, S.Context)) { in CheckImplicitConversion()
|
D | SemaTemplate.cpp | 4219 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument()
|
D | SemaOverload.cpp | 5099 : !Result.get()->EvaluateAsRValue(Eval, S.Context)) || in CheckConvertedConstantExpression()
|
D | SemaExpr.cpp | 11847 bool Folded = E->EvaluateAsRValue(EvalResult, Context) && in VerifyIntegerConstantExpression()
|