Try to get readability-deleted-default.cpp to pass on Windows.
authorNico Weber <nicolasweber@gmx.de>
Tue, 8 Oct 2019 19:14:34 +0000 (19:14 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 8 Oct 2019 19:14:34 +0000 (19:14 +0000)
commit8cb804a3c9ce2ba4e6d4a04d9ff48329a701f2cb
tree930c5a90bf7a7151ed5eb0ea0ecd80215c91d978
parentcb8292274a222f916399d085a494df3b8cd1c970
Try to get readability-deleted-default.cpp to pass on Windows.

In MS compatibility mode, "extern inline void g()" is not a redundant
declaration for "inline void g()", because of redeclForcesDefMSVC()
(see PR19264, r205485).

To fix, run the test with -fms-compatiblity forced on and off
and explicit check for the differing behavior for extern inline.

Final bit of PR43593.

Differential Revision: https://reviews.llvm.org/D68640

llvm-svn: 374103
clang-tools-extra/test/clang-tidy/readability-redundant-declaration.cpp