prevent rewrite when an unqualified id in a typedef type collides with a function argument name
Fixes #44206.
Paths
| Differential D88700
[clang-tidy] modernize-use-trailing-return-type fix #44206 ClosedPublic Authored by bernhardmgruber on Oct 1 2020, 1:34 PM.
Details
Summary prevent rewrite when an unqualified id in a typedef type collides with a function argument name Fixes #44206.
Diff Detail Event TimelineEugene.Zelenko edited reviewers, added: alexfh, hokein, njames93; removed: Eugene.Zelenko.Oct 1 2020, 2:29 PM This revision is now accepted and ready to land.Oct 2 2020, 6:40 AM Comment Actions
Happy to! I've commit on your behalf in 07028cd5dbb8417fb41121a7e75290fab00f65fc. Thank you for the fix!
bernhardmgruber added inline comments.
Revision Contents
Diff 295667 clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type.cpp
|
There is a break; missing after this line. The build bot just told me. It should not change the meaning of the program though.
Can someone add that for me or do I need to upload another diff? Thank you!