Fix #14471: Improve check: shadowVariable for function argument#8303
Fix #14471: Improve check: shadowVariable for function argument#8303ludviggunne wants to merge 8 commits intodanmar:mainfrom
Conversation
8d1541b to
a5e4899
Compare
|
This should allow us to enable |
55fc5b2 to
a005907
Compare
|
Since this now reports shadowed functions the error ID is misleading. We probably need a new ID. |
The error ID does differ actually, e.g. |
Ah, sorry. I just went by the title of the PR and did not look at the code. |
fc03706 to
eeb3eec
Compare
|
|
Related premium issue: |
| shadowFunction:externals/simplecpp/simplecpp.cpp | ||
| shadowFunction:externals/simplecpp/simplecpp.h |
There was a problem hiding this comment.
Would be great if you could publish an upstream PR which fixes these so we can drop the suppressions on the next bump.
There was a problem hiding this comment.
I checked and we have -Wshadow-field from Clang enabled in simplecpp. And -Wshadow from GCC only reports shadowing in constructors (as expected), so I am curious about these.



No description provided.