HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:3393
+ break;
+ } else {
+ return;
----------------
don't need `else` after `break`.
In fact I would negate the condition and return, and keep the remainder out of
any `if` or `else`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145642/new/
https://reviews.llvm.org/D145642
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits