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
Personally I think it's natural that the compiler has warnings about dangerous
code. This check is about readability.
cfe-commits mailing list