[PATCH] PR12463 : Warnings about nonsensical comparisons are disabled if macro expansion is involved #2

Lubos Lunak l.lunak at centrum.cz
Fri Apr 4 03:54:28 PDT 2014


 This is a reduced version of the original patch for PR12463 that handles only 
string comparisons (I don't care about arrays enough to deal with the details 
and there the problem is unlikely to happen anyway, but the problem is more 
likely with strings if e.g. refactoring).

-- 
 Lubos Lunak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-warn-about-string-literal-comparisons-even-in-macros.patch
Type: text/x-diff
Size: 3444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140404/d3660c35/attachment.patch>


More information about the cfe-commits mailing list