In some cases, clang applies the C++ rules for computing the range of a
value when said value is an enum.

The attached patch applies C semantics when in C mode.

This fixes PR16154.

-- 
David Majnemer

Attachment: pr16154.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to