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

References

tools/clang/lib/AST/ExprConstant.cpp
13387     case interp::InterpResult::Success:
13389     case interp::InterpResult::Fail:
13391     case interp::InterpResult::Bail:
13622     case interp::InterpResult::Fail:
13625     case interp::InterpResult::Success:
13628     case interp::InterpResult::Bail:
14387     case interp::InterpResult::Success:
14388     case interp::InterpResult::Fail:
14390     case interp::InterpResult::Bail:
tools/clang/lib/AST/Interp/Context.cpp
   30 InterpResult Context::isPotentialConstantExpr(State &Parent,
   40       return InterpResult::Fail;
   43       return InterpResult::Bail;
   48     return InterpResult::Fail;
   54 InterpResult Context::evaluateAsRValue(State &Parent, const Expr *E,
   60 InterpResult Context::evaluateAsInitializer(State &Parent, const VarDecl *VD,
  119 InterpResult Context::Run(State &Parent, Function *Func, APValue &Result) {
  120   InterpResult Flag;
  125       Flag = InterpResult::Success;
  127       Flag = InterpResult::Fail;
  131   if (Flag != InterpResult::Success)
  136 InterpResult Context::Check(State &Parent, llvm::Expected<bool> &&R) {
  138     return *R ? InterpResult::Success : InterpResult::Fail;
  138     return *R ? InterpResult::Success : InterpResult::Fail;
  143     return InterpResult::Fail;
  146     return InterpResult::Bail;
tools/clang/lib/AST/Interp/Context.h
   57   InterpResult isPotentialConstantExpr(State &Parent,
   61   InterpResult evaluateAsRValue(State &Parent, const Expr *E, APValue &Result);
   64   InterpResult evaluateAsInitializer(State &Parent, const VarDecl *VD,
   81   InterpResult Run(State &Parent, Function *Func, APValue &Result);
   84   InterpResult Check(State &Parent, llvm::Expected<bool> &&R);