Lines Matching refs:LHSResult
45 EvalResult LHSResult;
46 std::tie(LHSResult, RemainingExpr) =
48 if (LHSResult.hasError())
49 return handleError(Expr, LHSResult);
63 if (LHSResult.getValue() != RHSResult.getValue()) {
65 << format("0x%" PRIx64, LHSResult.getValue())
185 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult,
191 return EvalResult(LHSResult.getValue() + RHSResult.getValue());
193 return EvalResult(LHSResult.getValue() - RHSResult.getValue());
195 return EvalResult(LHSResult.getValue() & RHSResult.getValue());
197 return EvalResult(LHSResult.getValue() | RHSResult.getValue());
199 return EvalResult(LHSResult.getValue() << RHSResult.getValue());
201 return EvalResult(LHSResult.getValue() >> RHSResult.getValue());
632 EvalResult LHSResult;
634 std::tie(LHSResult, RemainingExpr) = LHSAndRemaining;
638 if (LHSResult.hasError() || RemainingExpr == "")
639 return std::make_pair(LHSResult, RemainingExpr);
647 return std::make_pair(LHSResult, RemainingExpr);
659 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult));