[PATCH] Objective-C literals to bool conversion warning

Richard Trieu rtrieu at google.com
Tue Jan 28 15:00:23 PST 2014


  > Justification for dropping the "boolean" in "implicit boolean conversion"? I'm worried that a non-compiler-writer looking at the code won't see where the conversion is. (I didn't phrase it as "conversion...to bool" because Objective-C programmers don't usually think about "bool", even though they're probably compiling in gnu99 mode.)

  Oops, dropped it while copying the text.  I'll go fix the text.

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



More information about the cfe-commits mailing list