[cfe-dev] Patch for enum sizes
onesadcookie at gmail.com
Sun Aug 26 02:35:53 PDT 2007
Well, a start, anyway. Enough to prevent clang asserting when
switching on an enumerated type, at least.
No idea if this is a sensible approach or not. Feel free to flame ;)
I think the code dealing with finding the minimum and maximum enum
constants is really ugly, but I can't see a better way to do it with
the current APSInt API. Anyone have ideas?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4367 bytes
Desc: not available
More information about the cfe-dev