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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to