[LLVMbugs] [Bug 10837] Warn when assigning null character to pointer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 10 10:40:33 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=10837

Argyrios Kyrtzidis <akyrtzi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #6 from Argyrios Kyrtzidis <akyrtzi at gmail.com> 2012-10-10 12:40:33 CDT ---
(In reply to comment #5)
> (In reply to comment #4)
> > Why do we only warn on C++ for this ?
> 
> Honestly because I hadn't even given it much thought & don't work with the C
> side of things. 
> 
> We can reopen this to track the C issue, but I probably won't have time to look
> into it much more than I have already. I'm guessing it's something to do with
> how we model conversions (maybe they're not even conversions?) of this kind in
> C.

That is fine, I wanted to make sure this is not intentional.

I'll reopen to keep track on it until it warns for C and Objective-C as well.

-- 
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