[PATCH] -Wassign-enum: compare unqualified types

Dmitri Gribenko gribozavr at gmail.com
Thu Dec 5 13:47:28 PST 2013


  dblaikie: Indeed, seems like the original commit that introduced the warning did not have this explanation -- and that's probably why it was not implemented as planned.

  In any case, are you OK with using an explicit cast to suppress this warning?  I think this is a reasonable declaration of intent by the user.

http://llvm-reviews.chandlerc.com/D2341



More information about the cfe-commits mailing list