[LLVMbugs] [Bug 10358] -Wuninitialized false negative for use inside a loop
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 14 16:44:35 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10358
Ted Kremenek <kremenek at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Ted Kremenek <kremenek at apple.com> 2011-07-14 18:44:35 CDT ---
(In reply to comment #2)
> Created an attachment (id=6883)
--> (http://llvm.org/bugs/attachment.cgi?id=6883) [details]
> Don't ever mark uninitialized variables as Initialized
>
> Here's a patch to mark uninitialized variables as Unknown instead of
> Initialized when trying to just avoid cascaded warnings. This way
> isUninitialized() will still return false but variables don't accidentally get
> marked as maybe uninitialized when they are clearly uninitialized. I've also
> mailed it to cfe-commits.
Applied in r135217.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list