[LLVMbugs] [Bug 18388] False positive null pointer dereference, comparison against pointer that can be null in loop
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 8 09:39:28 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18388
Jordan Rose <jordan_rose at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jordan_rose at apple.com
Resolution|--- |INVALID
--- Comment #1 from Jordan Rose <jordan_rose at apple.com> ---
There's nothing here that tells the analyzer that var->nameToken() /couldn't/
return null. You can work around this by asserting that tok2 is non-null.
(Alas, we don't have a "returns-nonnull" attribute you could slap on
Variable::nameToken.)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140108/bddcc7f0/attachment.html>
More information about the llvm-bugs
mailing list