[LLVMbugs] [Bug 8729] New: Allow diagnostic to be disabled: warn_indirection_through_null

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 2 16:33:27 PST 2010


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

           Summary: Allow diagnostic to be disabled:
                    warn_indirection_through_null
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pipping at exherbo.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5859)
 --> (http://llvm.org/bugs/attachment.cgi?id=5859)
Fix

warn_indirection_through_null is enabled by default and can currently only be
disabled through -w.

02:19 < pipping> Hi. clang gives me a warning,
diag::warn_indirection_through_null in particular. I'd like to disable that,
how do I find out what option I need to pass to clang?
02:20 < Bigcheese> It should tell you what flag caused it right next to the
warning.
02:20 < Bigcheese> Err, what flag disables it.
02:22 < pipping> it know that clang does that for some warnings, but it didn't
for this one: http://dpaste.com/282079/
02:22 <+nlewycky> then it doesn't have one. please fix!

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