[clang] [clang-format]: Add `StaticInlineOnly` and `StaticInline` options to `ShortFunctionStyle` (PR #133598)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 30 19:07:25 PDT 2025
irymarchyk wrote:
@owenca, just to confirm - you are suggesting to add `Custom` string to `AllowShortFunctionsOnASingleLine` and new parameter (`AllowShortFunctionsOnASingleLineOptions` for example) which will control behavior if `AllowShortFunctionsOnASingleLine == Custom`? What options should be present? I think we can start with `Inline`, `Empty`, `static inline`, `constexpr` (?).
https://github.com/llvm/llvm-project/pull/133598
More information about the cfe-commits
mailing list