Thinking about this a little more, I'm conflicted as to whether or not it 
should allow the simplification if the boolean constant came from a macro.  If 
the macro is a feature detection macro, then I'm enabling/disabling chunks of 
code at runtime based on the resolution of the feature detection and I 
shouldn't be so quick to simplify that to always true or always false.


http://reviews.llvm.org/D7648

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



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to