[PATCH] D154755: [clang-format] Fix formatting of if statements with BlockIndent

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 14:50:19 PST 2023


owenpan added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:25814-25824
+               "  if (quitelongname < alsolongname ||\n"
+               "      anotherevenlongername <=\n"
+               "          thisreallyreallyreallyreallyreallyreallylongername ||"
+               "\n"
+               "      othername < thislastname) {\n"
+               "    return;\n"
+               "  } else if (quitelongname < alsolongname ||\n"
----------------
Please use camel case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154755/new/

https://reviews.llvm.org/D154755



More information about the cfe-commits mailing list