[clang] [clang-format] Allow line breaking with PointerAlignment configured (PR #164686)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 29 10:35:51 PDT 2025
sstwcw wrote:
Why should the `*const` part bind closer to the type than the variable? After all, if we add the parentheses than we see that the `*const x` part can be grouped while the `int *const` part can not.
```C++
void foo(const int (*const (x));
```
https://github.com/llvm/llvm-project/pull/164686
More information about the cfe-commits
mailing list