[polly] [clang] [clang-format] Add AllowShortType option for AlwaysBreakAfterReturnType. (PR #78011)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 12:12:16 PST 2024


================
@@ -922,8 +922,23 @@ struct FormatStyle {
     ///   };
     ///   int f();
     ///   int f() { return 1; }
+    ///   int foooooooooooooooooooooooooooooooooooooooooooooooo::
----------------
HazardyKnusperkeks wrote:

I'd go with short names, and just name them like `LongName` or similar and just break. This is documentation which should convey the settings, and must not break with LLVMs standard column limit.

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


More information about the cfe-commits mailing list