owenca wrote:

This patch formats
```
void f() {
  if (foo)
    bar(); // Comment
#if BAZ
  baz();
#endif
}
```
to
```
void f() {
  if (foo)
    bar();
        // Comment
#if BAZ
  baz();
#endif
}
```
The trailing comment shouldn't be wrapped.

https://github.com/llvm/llvm-project/pull/94776
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to