llvm / llvm/llvm-project

[clang-format] Option to add `*` at the start of every line of multi-line comment

Open
#160,261 1 comment 0 reactions 0 assignees View on GitHub
clang-format enhancement
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

```c
/* This is a multiline comment,
and this is the next line, I'd like this line to start with '*'.
*/
```

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.