[clang] [clang-format] Add SignatureColumn lambda body indentation (PR #245575)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 27 00:40:12 PST 2026
rmarker wrote:
@ihzgniqgnem, I was trying out your PR on the code at work and discovered a change to ternary formatting.
I.e. using the default llvm style:
```cpp
// Signature
const char *describe(bool online, bool authenticated) {
return online ? authenticated ? "online and signed in" : "signed out"
: "offline";
}
// SignatureColumn
const char *describe(bool online, bool authenticated) {
return online ? authenticated ? "online and signed in" : "signed out"
: "offline";
}
```
https://github.com/llvm/llvm-project/pull/245575
More information about the cfe-commits
mailing list