[PATCH] New warning for mismatch between not and and/or operators.

Daniel Marjamäki daniel.marjamaki at evidente.se
Tue Mar 3 22:47:45 PST 2015


I am personally a bit skeptic about this.

what does it solve to use:

  a = !b || !c;

instead of:

  a = !b | !c;

If it's only stylistic .. then why not let the programmer decide which way is better.

I am not saying that I am against this.. just that I am a bit skeptic.


http://reviews.llvm.org/D5765

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list