[polly] [clang] [clang-format] Add AllowShortType option for AlwaysBreakAfterReturnType. (PR #78011)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 29 11:58:32 PST 2024
================
@@ -922,8 +922,23 @@ struct FormatStyle {
/// };
/// int f();
/// int f() { return 1; }
+ /// int foooooooooooooooooooooooooooooooooooooooooooooooo::
+ /// baaaaaaaaaaaaaaaaaaaaar();
/// \endcode
RTBS_None,
+ /// Break after return type automatically, while allowing a break after
+ /// short return types.
----------------
HazardyKnusperkeks wrote:
Better.
https://github.com/llvm/llvm-project/pull/78011
More information about the cfe-commits
mailing list