File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1988,7 +1988,7 @@ TEST(Diagnostics, Tags) {
1988
1988
withTag (DiagnosticTag::Deprecated))));
1989
1989
1990
1990
Test = Annotations (R"cpp(
1991
- $typedef[[typedef int INT]] ;
1991
+ $typedef[[typedef]] int INT;
1992
1992
)cpp" );
1993
1993
TU.Code = Test.code ();
1994
1994
TU.ClangTidyProvider = addTidyChecks (" modernize-use-using" );
@@ -2002,7 +2002,7 @@ TEST(Diagnostics, Tags) {
2002
2002
TEST (Diagnostics, TidyDiagsArentAffectedFromWerror) {
2003
2003
TestTU TU;
2004
2004
TU.ExtraArgs = {" -Werror" };
2005
- Annotations Test (R"cpp( $typedef[[typedef int INT]] ; // error-ok)cpp" );
2005
+ Annotations Test (R"cpp( $typedef[[typedef]] int INT; // error-ok)cpp" );
2006
2006
TU.Code = Test.code ().str ();
2007
2007
TU.ClangTidyProvider = addTidyChecks (" modernize-use-using" );
2008
2008
EXPECT_THAT (
Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ Changes in existing checks
103
103
^^^^^^^^^^^^^^^^^^^^^^^^^^
104
104
105
105
- Improved :doc: `modernize-use-using
106
- <clang-tidy/checks/modernize/use-using>` check by removing many incorrect
107
- fixits and providing fixits where before there was only a warning.
106
+ <clang-tidy/checks/modernize/use-using>` check by removing many incorrect
107
+ fix-its and providing fix-its where before there was only a warning.
108
108
109
109
Removed checks
110
110
^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments