================ @@ -14996,6 +14996,29 @@ TEST_F(FormatTest, SplitEmptyFunctionButNotRecord) { Style); } +TEST_F(FormatTest, SplitShortFunction) { + FormatStyle Style = getLLVMStyleWithColumns(40); ---------------- owenca wrote:
We've been consistently using `auto` in place of `FormatStyle` and other types for a few years now. Also, there's no need for `ColumnLimit: 40` here now. https://github.com/llvm/llvm-project/pull/151428 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits