[PATCH] D24656: [clang-tidy] Add check readability-redundant-declaration
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 16 11:47:46 PDT 2016
Eugene.Zelenko added inline comments.
================
Comment at: test/clang-tidy/readability-redundant-declaration.cpp:9
@@ +8,3 @@
+extern int A;
+extern int A,B;
+// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: redundant variable A declaration
----------------
Please run Clang-format over test.
Repository:
rL LLVM
https://reviews.llvm.org/D24656
More information about the cfe-commits
mailing list