[clang] [clang-format]: Add `Custom` to `ShortFunctionStyle`; add new AllowShortFunctionsOnASingleLineOptions for granular setup (PR #134337)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 13 15:16:31 PDT 2025


irymarchyk wrote:

> We should stick to the table in [#134337 (comment)](https://github.com/llvm/llvm-project/pull/134337#discussion_r2028339995) and deprecate `SFS_InlineOnly`, `SFS_Empty`, and `SFS_Inline`.

Thanks, I marked options as 'deprecated'. Mapping is done in Format.cpp.

https://github.com/llvm/llvm-project/pull/134337


More information about the cfe-commits mailing list