[PATCH] D116314: [Clangfmt] Add style to separate definition blocks

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 28 07:25:02 PST 2021


MyDeveloperDay added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:3404
+
+  * ``SDS_Leave`` (in configuration: ``Leave``)
+    Leave definition blocks separated as they are.
----------------
This enumeration surely needs 3 settings


```
Leave,     // don't touch the code, if I have a line leave it alone if not don't add one
Always,   // always add a line
Never,    // never add a line and remove the lint if one exists
```


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

https://reviews.llvm.org/D116314



More information about the cfe-commits mailing list