weggli
weggli copied to clipboard
Normalize const in method params
Is it possible that when we match
void foo(const int & $p)
it also matches
void foo(int const & $p)
The AST sees these as different but semantically they are the same. If programmers use different styles across the code base then matching can become fiddly as you need a different version for each possible combination.