[LLVMbugs] [Bug 11863] attribute((nonnull)) not checked on c++ operators

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 26 14:58:00 PDT 2013


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

Nick Lewycky <nlewycky at google.com> changed:

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

--- Comment #2 from Nick Lewycky <nlewycky at google.com> ---
$ clang pr11863.cc
pr11863.cc:4:12: warning: null passed to a callee which requires a non-null
      argument [-Wnonnull]
  return f != 0;
           ^  ~
1 warning generated.

-- 
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/20130526/084b9869/attachment.html>


More information about the llvm-bugs mailing list