This is an archive of the discontinued LLVM Phabricator instance.

Put microsoft template parameter shadow warning behind separate flag (PR44794)
ClosedPublic

Authored by hans on Feb 25 2020, 8:01 AM.

Diff Detail

Event Timeline

hans created this revision.Feb 25 2020, 8:01 AM
rnk accepted this revision.Feb 25 2020, 11:13 AM

code lgtm

Should we have a standalone test for this? Something that compiles with clang -cc1 -Wno-microsoft -Wmicrosoft-template-shadow and looks for the shadowing warnings?

This revision is now accepted and ready to land.Feb 25 2020, 11:13 AM
hans added a comment.Feb 26 2020, 7:05 AM
In D75121#1891879, @rnk wrote:

code lgtm

Should we have a standalone test for this? Something that compiles with clang -cc1 -Wno-microsoft -Wmicrosoft-template-shadow and looks for the shadowing warnings?

Adding one before committing.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 26 2020, 7:13 AM