================
@@ -587,7 +589,9 @@ bool ContinuationIndenter::mustBreak(const LineState 
&State) {
       !State.Line->ReturnTypeWrapped &&
       // Don't break before a C# function when no break after return type.
       (!Style.isCSharp() ||
-       Style.AlwaysBreakAfterReturnType != FormatStyle::RTBS_None) &&
+       (Style.AlwaysBreakAfterReturnType != FormatStyle::RTBS_None &&
+        Style.AlwaysBreakAfterReturnType !=
+            FormatStyle::RTBS_AllowShortType)) &&
----------------
owenca wrote:

```suggestion
       Style.AlwaysBreakAfterReturnType > FormatStyle::RTBS_AllowShortType) &&
```

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

Reply via email to