diff options
author | Haojian Wu <hokein@google.com> | 2019-05-28 14:47:39 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-05-28 14:47:39 +0000 |
commit | dfc0ca0c80cc05ef5c8ded8e88d4367f2fd344a2 (patch) | |
tree | c8e4f2e185afcaba970e0483a8489a56c999c8c0 | |
parent | 9212206d253b858d761cbad8a71ec71189d6b588 (diff) | |
download | bcm5719-llvm-dfc0ca0c80cc05ef5c8ded8e88d4367f2fd344a2.tar.gz bcm5719-llvm-dfc0ca0c80cc05ef5c8ded8e88d4367f2fd344a2.zip |
[clang-tidy] Verify fix description for misc-unused-using-decl.
Reviewers: gribozavr
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62522
llvm-svn: 361833
-rw-r--r-- | clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp b/clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp index 65ef0dac22b..eed0baeb3eb 100644 --- a/clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp @@ -79,6 +79,7 @@ T ff() { T t; return t; } // eol-comments aren't removed (yet) using n::A; // A // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: using decl 'A' is unused +// CHECK-MESSAGES: :[[@LINE-2]]:10: note: remove the using // CHECK-FIXES: {{^}}// A using n::B; using n::C; |