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

            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: unassignedclangb...@nondot.org
          Reporter: jva...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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
-Wmicrosoft-template.
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to