[clang] [clang-format] Allow custom pointer/ref alignment in return types (PR #169160)
Daan De Meyer via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 12 09:09:28 PST 2026
DaanDeMeyer wrote:
@mydeveloperday I'm sorry but I'm not sure I follow your suggestion. Are you suggesting `Leave` as another option aside from `Left` and `Right`?
Something like this?
```
PointerAlignment: Right
PointerAlignmentOverride:
CStyleCast: Left
ReturnType: Leave
```
Though I would argue `Leave` is a separate feature from overriding the pointer alignment for specific scenarios.
https://github.com/llvm/llvm-project/pull/169160
More information about the cfe-commits
mailing list