[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
This commit is contained in:
Haojian Wu 2019-05-28 14:47:39 +00:00
parent 9212206d25
commit dfc0ca0c80
1 changed files with 1 additions and 0 deletions

View 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;