[PATCH] D154550: [clang-format] Allow empty loops on a single line.

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 12:43:59 PDT 2023


HazardyKnusperkeks added inline comments.


================
Comment at: clang/lib/Format/Format.cpp:595-599
+    IO.enumCase(Value, "Never", FormatStyle::SWFLS_Never);
+    IO.enumCase(Value, "false", FormatStyle::SWFLS_Never);
+    IO.enumCase(Value, "NonEmpty", FormatStyle::SWFLS_NonEmpty);
+    IO.enumCase(Value, "All", FormatStyle::SWFLS_All);
+    IO.enumCase(Value, "true", FormatStyle::SWFLS_NonEmpty);
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154550



More information about the cfe-commits mailing list