clang-tidy - misc-unused-parameters — Extra Clang Tools 6 documentation

# Extra Clang Tools 6 documentation

## clang-tidy - misc-unused-parameters

# misc-unused-parameters

Finds unused parameters and fixes them, so that -Wunused-parameter can be turned on.

    void a(int i) {}

    // becomes

    void a(int  /*i*/) {}

    static void staticFunctionA(int i);
    static void staticFunctionA(int i) {}

    // becomes

    static void staticFunctionA()
    static void staticFunctionA() {}