[PATCH] D62522: [clang-tidy] Verify fix description for misc-unused-using-decl.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 06:50:43 PDT 2019

hokein created this revision.
hokein added a reviewer: gribozavr.
Herald added a subscriber: xazax.hun.
Herald added a project: clang.

  rG LLVM Github Monorepo



Index: clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp
--- clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp
+++ clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp
@@ -79,6 +79,7 @@
 // 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;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62522.201654.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190528/9dcb2ed2/attachment.bin>

More information about the cfe-commits mailing list