[PATCH] Extend -Wstring-conversion to catch NSString* to bool conversion

Jordan Rose jordan_rose at apple.com
Thu Jan 23 19:51:16 PST 2014


  Huh, I thought we already had a check for this. This seems fine, but we might as well test every Objective-C literal type. None of them can evaluate to nil...and then I'd rather group the @"" conversion with those, rather than -Wstring-conversion.

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



More information about the cfe-commits mailing list