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

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 21:38:27 PST 2024


================
@@ -922,8 +922,39 @@ struct FormatStyle {
     ///   };
     ///   int f();
     ///   int f() { return 1; }
+    ///   int LongName::
+    ///       AnotherLongName();
     /// \endcode
----------------
owenca wrote:

Change the comments (lines 917-927) to something like the following:
```
    /// This is **deprecated**. See ``Automatic`` below.
```

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


More information about the cfe-commits mailing list