[clang] [clang-format]: Add `StaticInlineOnly` and `StaticInline` options to `ShortFunctionStyle` (PR #133598)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 29 20:37:37 PDT 2025
================
@@ -863,6 +870,12 @@ struct FormatStyle {
/// void f() {}
/// \endcode
SFS_Inline,
+ /// Only merge functions defined as static inline. Implies ``empty``.
----------------
irymarchyk wrote:
Thanks, fixed. Now it mention that empty function also merged.
https://github.com/llvm/llvm-project/pull/133598
More information about the cfe-commits
mailing list