Lines Matching defs:LHSResult
64 EvalResult LHSResult;
65 std::tie(LHSResult, RemainingExpr) =
67 if (LHSResult.hasError())
68 return handleError(Expr, LHSResult);
82 if (LHSResult.getValue() != RHSResult.getValue()) {
84 << format("0x%" PRIx64, LHSResult.getValue())
204 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult,
210 return EvalResult(LHSResult.getValue() + RHSResult.getValue());
212 return EvalResult(LHSResult.getValue() - RHSResult.getValue());
214 return EvalResult(LHSResult.getValue() & RHSResult.getValue());
216 return EvalResult(LHSResult.getValue() | RHSResult.getValue());
218 return EvalResult(LHSResult.getValue() << RHSResult.getValue());
220 return EvalResult(LHSResult.getValue() >> RHSResult.getValue());
704 EvalResult LHSResult;
706 std::tie(LHSResult, RemainingExpr) = LHSAndRemaining;
710 if (LHSResult.hasError() || RemainingExpr == "")
711 return std::make_pair(LHSResult, RemainingExpr);
719 return std::make_pair(LHSResult, RemainingExpr);
731 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult));