This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix formatting of else after return check
Changes PlannedPublic

Authored by njames93 on Nov 10 2020, 4:28 AM.

Details

Reviewers
None
Summary

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

Diff Detail