[clang] [Format] Configure ASSIGN_OR_RETURN macros for Google style (PR #169037)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 14 22:51:29 PST 2026
https://github.com/owenca commented:
Please note that user-added `Macros` will overwrite the default:
```
$ clang-format -dump-config -style='{BasedOnStyle: Google, Macros: [A(x)=x]}' | grep -w -A2 Macros:
Macros:
- 'A(x)=x'
- 'ASSIGN_OR_RETURN(a, b, c)=a = (b); if (x) return c'
```
https://github.com/llvm/llvm-project/pull/169037
More information about the cfe-commits
mailing list