[clang] [clang-format]: Add `StaticInlineOnly` and `StaticInline` options to `ShortFunctionStyle` (PR #133598)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 29 14:22:14 PDT 2025


================
@@ -863,6 +870,12 @@ struct FormatStyle {
     ///   void f() {}
     /// \endcode
     SFS_Inline,
+    /// Only merge functions defined as static inline. Implies ``empty``.
----------------
HazardyKnusperkeks wrote:

This should have a different text.

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


More information about the cfe-commits mailing list