Bug: https://bugs.llvm.org/show_bug.cgi?id=34449
Problem:
Clang-tidy check misc-unused-parameters comments out parameter name omitting following characters (e.g. square brackets) what results in its complete removal. Compilation errors might occur after clang-tidy fix as well.
Patch description:
Changed removal range. The range should end after parameter name, not after whole parameter declarator (which might be followed by e.g. square brackets).