[PATCH] D24656: [clang-tidy] Add check readability-redundant-declaration

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 00:41:37 PDT 2016


danielmarjamaki added a comment.

> Will be good idea to detect redundant function prototypes.


Yes.

Should that have the same ID though? Is it better to have one readability-redundant-declaration or two separate readability-redundant-variable-declaration and readability-redundant-function-declaration?


Repository:
  rL LLVM

https://reviews.llvm.org/D24656





More information about the cfe-commits mailing list