[llvm-bugs] [Bug 33771] New: New diagnostic -Wzero-as-null-pointer-constant warns on macros expanded from system headers.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 13 09:16:12 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33771

            Bug ID: 33771
           Summary: New diagnostic -Wzero-as-null-pointer-constant warns
                    on macros expanded from system headers.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

https://reviews.llvm.org/D32914#748235
When a header is included from system directory (e.g. `-isystem`), no warning
should originate from it. This diagnostic violates this.

-- 
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/20170713/0e4b27b5/attachment.html>


More information about the llvm-bugs mailing list