Closed wcjohnson closed 4 years ago
When const is used to indicate that a variable is intentionally shadowed, unnecessary-const is still flagging it as unnecessary.
const
unnecessary-const
When
const
is used to indicate that a variable is intentionally shadowed,unnecessary-const
is still flagging it as unnecessary.