[PATCH] Objective-C literals to bool conversion warning

Jordan Rose jordan_rose at apple.com
Tue Jan 28 14:39:35 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.)

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



More information about the cfe-commits mailing list