Add explicit return value to Reducer::SameOp()

Helps tools that don't realize the implications of [[noreturn]] on
the Reporter::InternalError() in this case.
This commit is contained in:
Jon Siwek 2021-03-08 12:39:39 -08:00
parent 75d3cbda4b
commit 0ef315d143

View file

@ -224,8 +224,8 @@ bool Reducer::SameOp(const Expr* op1, const Expr* op2)
return true;
}
else
reporter->InternalError("bad singleton tag");
return false;
}
bool Reducer::SameExpr(const Expr* e1, const Expr* e2)