forked from OSchip/llvm-project
[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:
parent
9212206d25
commit
dfc0ca0c80
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue