[PATCH] D24656: [clang-tidy] Add check readability-redundant-declaration
Daniel Marjamäki via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 16 04:11:56 PDT 2016
danielmarjamaki created this revision.
danielmarjamaki added a reviewer: alexfh.
danielmarjamaki added a subscriber: cfe-commits.
Herald added subscribers: mgorny, beanz.
This is a new check that warns about redundant variable declarations.
https://reviews.llvm.org/D24656
Files:
clang-tidy/readability/CMakeLists.txt
clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tidy/readability/RedundantDeclarationCheck.cpp
clang-tidy/readability/RedundantDeclarationCheck.h
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/readability-redundant-declaration.rst
test/clang-tidy/readability-redundant-declaration.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24656.71612.patch
Type: text/x-patch
Size: 7414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160916/4d019075/attachment.bin>
More information about the cfe-commits
mailing list