[cfe-commits] r124352 - /cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
Ted Kremenek
kremenek at apple.com
Wed Jan 26 21:22:21 PST 2011
On Jan 26, 2011, at 7:59 PM, Chris Lattner wrote:
>
> On Jan 26, 2011, at 6:57 PM, Ted Kremenek wrote:
>
>> Author: kremenek
>> Date: Wed Jan 26 20:57:57 2011
>> New Revision: 124352
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=124352&view=rev
>> Log:
>> Teach -Wuninitialized to suggest "= false" for initializing bool variables.
>
> In C99 mode, it should suggest 0 for _Bool, not false. Does this work?
>
> -Chris
>
>
WFM.
r124356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110126/60bdd58c/attachment.html>
More information about the cfe-commits
mailing list