[clang-tidy] Add check readability-redundant-declaration

Description

[clang-tidy] Add check readability-redundant-declaration

Finds redundant variable and function declarations.

extern int X;
extern int X;  // <- redundant

Differential Revision: https://reviews.llvm.org/D24656

Details

Committed
danielmarjamakiNov 1 2016, 6:26 AM
Differential Revision
D24656: [clang-tidy] Add check readability-redundant-declaration
Parents
rL285688: [x86][inline-asm][clang] accept 'v' constraint
Branches
Unknown
Tags
Unknown