================ @@ -914,16 +914,31 @@ struct FormatStyle { /// Different ways to break after the function definition or /// declaration return type. enum ReturnTypeBreakingStyle : int8_t { - /// Break after return type automatically. - /// ``PenaltyReturnTypeOnItsOwnLine`` is taken into account. + /// This is **deprecated**. See ``Automatic`` below. + RTBS_None, + /// Break after return type based on ``PenaltyReturnTypeOnItsOwnLine``. /// \code /// class A { /// int f() { return 0; }; /// }; /// int f(); /// int f() { return 1; } + /// int + /// LongName::AnotherLongName(); /// \endcode - RTBS_None, + RTBS_Automatic, + /// Same as ``Automatic`` above, expect that there is no break after short ---------------- owenca wrote:
```suggestion /// Same as ``Automatic`` above, except that there is no break after short ``` https://github.com/llvm/llvm-project/pull/78011 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits