[polly] [clang] [clang-format] Add Automatic and ExceptShortType options for AlwaysBreakAfterReturnType. (PR #78011)
Owen Pan via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 18:06:10 PST 2024
================
@@ -9906,12 +9944,16 @@ TEST_F(FormatTest, ReturnTypeBreakingStyle) {
verifyFormat("class B {\n"
" int f() { return 1; }\n"
" int g();\n"
+ " long\n"
+ " foooooooooooooooooooooooooooo::baaaaaaaaaaaaaaaaaaaar();\n"
----------------
owenca wrote:
It's a declaration and supposed to have no break after the type. That's why I suggested that we delete it (and others).
https://github.com/llvm/llvm-project/pull/78011
More information about the llvm-commits
mailing list