[llvm-bugs] [Bug 44794] New: -Wmicrosoft-template changed in 10.0.0

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 5 02:47:54 PST 2020


            Bug ID: 44794
           Summary: -Wmicrosoft-template changed in 10.0.0
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

On our code base, we had the -Wmicrosoft-template warning active before. With
10.0.0-RC1, I have to suppress this warning again, because it got changed.

Ideally, every warning would have it's own flag, something like:
-Wmicrosoft-template-shadowing and be part put in a warning group
This eases upgrades to newer releases, as you don't have to disable warnings
that were previously active.

Not sure if this is feasible within the RC time, however, updating the release
note comments to mention changes to this warning should still be feasible.

See https://clang.llvm.org/docs/DiagnosticsReference.html#wmicrosoft-template :
declaration of A shadows template parameter

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/20200205/f461d4d3/attachment.html>

More information about the llvm-bugs mailing list