| Issue | 56488 |
|---|---|
| Summary | clang-format RemoveBracesLLVM joins line comment and right brace |
| Labels | clang-format, invalid-code-generation |
| Assignees | owenca |
| Reporter | owenca |
clang-format versions: 14 and main
```
$ cat test.cpp
if (foo) {
if (bar) {
baz = 1; //
} }
$ clang-format -style="{RemoveBracesLLVM: true}" test.cpp
if (foo) {
if (bar)
baz = 1; // }
```
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
