Lines Matching refs:LHSResult
41 EvalResult LHSResult;
42 std::tie(LHSResult, RemainingExpr) =
44 if (LHSResult.hasError())
45 return handleError(Expr, LHSResult);
59 if (LHSResult.getValue() != RHSResult.getValue()) {
61 << format("0x%lx", LHSResult.getValue()) << " != "
158 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult,
163 return EvalResult(LHSResult.getValue() + RHSResult.getValue());
165 return EvalResult(LHSResult.getValue() - RHSResult.getValue());
167 return EvalResult(LHSResult.getValue() & RHSResult.getValue());
169 return EvalResult(LHSResult.getValue() | RHSResult.getValue());
171 return EvalResult(LHSResult.getValue() << RHSResult.getValue());
173 return EvalResult(LHSResult.getValue() >> RHSResult.getValue());
523 EvalResult LHSResult;
525 std::tie(LHSResult, RemainingExpr) = Ctx;
529 if (LHSResult.hasError() || RemainingExpr == "")
530 return std::make_pair(LHSResult, RemainingExpr);
538 return std::make_pair(LHSResult, RemainingExpr);
550 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult));