[PATCH] D52676: [clang-format] tweaked another case of lambda formatting
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 29 03:53:56 PDT 2018
JonasToth added a comment.
Please upload the patch with full context (i belive `diff -c 9999999`)
================
Comment at: lib/Format/TokenAnnotator.cpp:3054
+ return true;
+ else if (!Style.BinPackArguments)
+ return true;
----------------
please no `else` after return. You can safely use
```
if (Left....)
return true;
if (!Style...)
return true;
```
Repository:
rC Clang
https://reviews.llvm.org/D52676
More information about the cfe-commits
mailing list