Simplifies the code in the fix-it generation.
Addresses https://bugs.llvm.org/show_bug.cgi?id=47809 (hopefully)
By not changing the whole else block it also means other checks with fix-its can be applied in the else block.
Depends on D91103
Paths
| Differential D91149
[clang-tidy] Fix formatting of else after return check Changes PlannedPublic Authored by njames93 on Nov 10 2020, 4:28 AM.
Details
Summary Simplifies the code in the fix-it generation. Depends on D91103
Diff Detail
Revision Contents
Diff 304134 clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return.cpp
|