[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 07:46:24 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE361833: [clang-tidy] Verify fix description for misc-unused-using-decl. (authored by hokein, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D62522?vs=201654&id=201669#toc

Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62522/new/

https://reviews.llvm.org/D62522

Files:
  test/clang-tidy/misc-unused-using-decls.cpp


Index: test/clang-tidy/misc-unused-using-decls.cpp
===================================================================
--- test/clang-tidy/misc-unused-using-decls.cpp
+++ 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.201669.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190528/e05cd5ca/attachment.bin>


More information about the cfe-commits mailing list