[clang-tidy] Verify fix description for misc-unused-using-decl.
authorHaojian Wu <hokein@google.com>
Tue, 28 May 2019 14:47:39 +0000 (14:47 +0000)
committerHaojian Wu <hokein@google.com>
Tue, 28 May 2019 14:47:39 +0000 (14:47 +0000)
Reviewers: gribozavr

Subscribers: xazax.hun, cfe-commits

Tags: #clang

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

llvm-svn: 361833

clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp

index 65ef0da..eed0bae 100644 (file)
@@ -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;