Issue 91552
Summary clang-format misbehavior for comment
Labels clang-format
Assignees
Reporter dyzsr
    Running `clangformat --style=LLVM` on

``` cpp
void f() { /* OK */ }
void g() {
  /* OK */
}
```

results in

``` cpp
void f() { /* OK */
}
void g() { /* OK */ }
```

Which is confusing.
Clang version is 16.0.2.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to