reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Expr.h
  595   bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx,

References

tools/clang/lib/AST/ExprConstant.cpp
13512   return EvaluateAsRValue(Scratch, Ctx, InConstantContext) &&
13546   if (!EvaluateAsRValue(ExprResult, Ctx, InConstantContext) ||
13707   return EvaluateAsRValue(Result, Ctx, /* in constant context */ true) &&
tools/clang/lib/Analysis/CFG.cpp
 1173            S->EvaluateAsRValue(outResult, *Context);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1537   if (E->EvaluateAsRValue(Result, CGM.getContext()) &&
tools/clang/lib/CodeGen/CGExpr.cpp
 1455       refExpr->EvaluateAsRValue(result, getContext())) {
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1707     Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2039     if (E->EvaluateAsRValue(Result, CGF.getContext()) &&
tools/clang/lib/CodeGen/CGStmt.cpp
 1857       InputExpr->EvaluateAsRValue(EVResult, getContext(), true);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5039   if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) &&
tools/clang/lib/Sema/SemaChecking.cpp
10215   if (E->EvaluateAsRValue(result, C, InConstantContext))
11660         if (E->EvaluateAsRValue(result, S.Context)) {
tools/clang/lib/Sema/SemaConcept.cpp
  111   if (!E.get()->EvaluateAsRValue(EvalResult, Context)) {
tools/clang/lib/Sema/SemaExpr.cpp
14968       E->EvaluateAsRValue(EvalResult, Context, /*isConstantContext*/ true) &&
tools/clang/lib/Sema/SemaStmtAsm.cpp
  386         if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) {
  705     if (isa<clang::EnumType>(T) && Res->EvaluateAsRValue(Eval, Context))
tools/clang/lib/Sema/SemaTemplate.cpp
 5791   if (!Arg->EvaluateAsRValue(EvalResult, S.Context) ||
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp
  142         Ptr->EvaluateAsRValue(ConstPtr, Ctx) &&
tools/clang/tools/extra/clangd/XRefs.cpp
  697       if (!Init->isValueDependent() && Init->EvaluateAsRValue(Result, Ctx)) {
tools/clang/tools/libclang/CIndex.cpp
 3805   if (!expr->EvaluateAsRValue(ER, ctx))
tools/clang/unittests/AST/EvaluateAsRValueTest.cpp
   45       bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext());