[PATCH] D93986: [clang-format] Add the possibility to align assignments spanning empty lines or comments

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 3 09:30:41 PST 2021


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:12581
+            "\n"
+            "/* block comment */\n"
+            "\n"
----------------
can you add an example with a block comment that spans multiple lines

e.g.

```
int a = 5
/*
 * block comment
*/
int oneTwoThree = 123;
```


```
int a = 5
///
/// block comment
///
int oneTwoThree = 123;
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93986



More information about the cfe-commits mailing list