[PATCH] D59087: [clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present

Xing via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 03:46:09 PST 2019


Higuoxing added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:247
 
+  /// When used in conjuction with ``AllowShortIfIfStatementsOnASingleLine``
+  /// then when ``true``, ``if (a) return;`` can be put on a single even when
----------------
Small nit:  
```
AllowShortIfIfStatementsOnASingleLine
            ^
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59087/new/

https://reviews.llvm.org/D59087





More information about the cfe-commits mailing list