Improve -Wlogical-not-parentheses to catch when the not is applied to an enum.