I recently was annoyed by clang when it was warning about assignment to an enum which I was using as a flag type, because val1 | val2 is not a valid enumerator constant. I like -Wassign-enum and -Wswitch in principle, and so I've introduced an attribute to distinguish them in the compiler and adjusted a few warnings accordingly.
http://reviews.llvm.org/D5853 I would appreciate review, since I've been away long enough that even if I still have commit access, I'm not going to just up and use it. Sean _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
