[llvm-bugs] [Bug 43999] New: clang-cl: Probably want to include -Wconversion in /W3 and up

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 14 05:49:09 PST 2019


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

            Bug ID: 43999
           Summary: clang-cl: Probably want to include -Wconversion in /W3
                    and up
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

cl /W3 and up warns on conversion issues.

clang famously doesn't include -Wconversion in -Wall -Wextra.

We should probably add -Wconversion to /W3 and /W4 in clang-cl at least. (We
might have to check the -Wconversion warnings are any good; since they're not
easy to enable most people don't enable them, so they might need work.)

-- 
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/20191114/91873807/attachment.html>


More information about the llvm-bugs mailing list