[PATCH] D24656: [clang-tidy] Add check readability-redundant-declaration
Daniel Marjamäki via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 18 23:57:08 PDT 2016
danielmarjamaki added a comment.
> However, I think this check should be part of Clang diagnostics. GCC has -Wredundant-decls for a long time.
I am not against that.
What is the criteria? When should it be in the compiler and when should it be in clang-tidy?
Personally I think it's natural that the compiler has warnings about dangerous code. This check is about readability.
Repository:
rL LLVM
https://reviews.llvm.org/D24656
More information about the cfe-commits
mailing list