[PATCH] D13157: Teach -Wtautological-overlap-compare about enums
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 22:54:21 PDT 2015
george.burgess.iv created this revision.
george.burgess.iv added a reviewer: rtrieu.
george.burgess.iv added a subscriber: cfe-commits.
Currently, -Wtautological-overlap-compare only emits warnings if the comparisons are between integer literals and variables. This patch adds support for comparison between variables and enums if the user's intent seems moderately obvious.
Richard -- I chose you for review because it looks like you touched the code last. If you're busy, I'm happy to petition others :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6640 bytes
Desc: not available
More information about the cfe-commits