Redundancies in Code
- Access specifier does not affect any declaration
Access specifier does not affect any declaration.
- Access specifier does not change accessibility level
Access specifier does not change accessibility level.
- Conditional expression can be simplified
Conditional expression can be simplified.
- Const-qualified parameter in a function declaration
Const-qualified parameter in a function declaration.
- Final function in a final class
Final function in a final class.
- Final non-overriding virtual function
Final non-overriding virtual function.
- Guarded header has already been included
Guarded header has already been included.
- Keyword 'export' is redundant, because there is enclosing export declaration
Keyword 'export' is redundant, because there is enclosing export declaration.
- Redundant 'const' specifier
Redundant 'const' specifier.
- Redundant 'else' keyword
Redundant 'else' keyword.
- Redundant 'else' keyword inside compound statement
Redundant 'else' keyword inside compound statement.
- Redundant 'inline' specifier
Redundant 'inline' specifier.
- Redundant 'static' specifier on a 'thread_local' local variable
Redundant 'static' specifier on a 'thread_local' local variable.
- Redundant 'static' specifier on a member allocation/deallocation function
Redundant 'static' specifier on a member allocation/deallocation function.
- Redundant 'static' specifier on an anonymous namespace member
Redundant 'static' specifier on an anonymous namespace member.
- Redundant 'template' keyword
Redundant 'template' keyword.
- Redundant 'typename' keyword
Redundant 'typename' keyword.
- Redundant argument in conditional expression
Redundant argument in conditional expression.
- Redundant base class access specifier
Redundant base class access specifier.
- Redundant base class initializer
Redundant base class initializer.
- Redundant cast expression
Redundant cast expression.
- Redundant conditional expression
Redundant conditional expression.
- Redundant control flow jump statement
Redundant control flow jump statement.
- Redundant dereferencing and taking address
Redundant dereferencing and taking address.
- Redundant elaborated type specifier
Redundant elaborated type specifier.
- Redundant empty declaration
Redundant empty declaration.
- Redundant empty statement
Redundant empty statement.
- Redundant forward declaration
Redundant forward declaration.
- Redundant member initializer in constructor initialization list
Redundant member initializer in constructor initialization list.
- Redundant parameter list in lambda declarator
Redundant parameter list in lambda declarator.
- Redundant parentheses
Redundant parentheses.
- Redundant qualifier
Redundant qualifier.
- Redundant qualifier (ADL)
Redundant qualifier (ADL).
- Redundant template arguments
Redundant template arguments.
- Redundant void argument list
Redundant void argument list.
- Redundant zero initializer in aggregate initialization
Redundant zero initializer in aggregate initialization.
- Template arguments can be deduced
Template arguments can be deduced.
- Unreachable code
Unreachable code.
- Volatile-qualified parameter in a function declaration
Volatile-qualified parameter in a function declaration.