Issue 160264
Summary [clang-format] Option to insert spaces at the start of every line of a multi-line comment
Labels clang-format
Assignees
Reporter parmi93
    ```c
/*This is a multiline comment, 
*and this is the next line.
*/
```

Looking for a clang-format option to format this comment into:
```c
/* This is a multiline comment, 
* and this is the next line.
*/
```

There is an option ([`SpacesInLineCommentPrefix`](https://clang.llvm.org/docs/ClangFormatStyleOptions.html#spacesinlinecommentprefix)) that does exactly this, but it only works with single-line comments (`//`).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to