On Fri, May 8, 2020 at 4:28 PM <[email protected]> wrote:
> > seems to make the assertion output comparatively useless. Wouldn't it
> be better
> > to do such things as
> >
> > else {
> > assert(condition);
> > ...
> > }
> >
> > instead?
>
> I'm used to the following idiom from LLVM:
> assert(0 && "Unknown outline tag");
>
> https://codereview.appspot.com/569700043/
it currently says
else { // quadratic
}
I guess you want to have
else if (something something tag) { //quadratic
} else {
assert(0);
}
what should I put for "something something tag"
--
Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen