[PATCH] D150848: [clang-format] Respect ColumnLimit 0 line breaks in inline asm

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 25 08:26:35 PDT 2023


owenpan added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:4626-4627
+  verifyFormat(Code1, Style);
+  EXPECT_EQ(Code2, format(Code2, Style));
+  EXPECT_EQ(Code3, format(Code3, Style));
+
----------------
We have `verifyNoChange` now. See D153109.


================
Comment at: clang/unittests/Format/FormatTest.cpp:4630-4632
+  EXPECT_EQ(Code2, format(Code1, Style));
+  EXPECT_EQ(Code2, format(Code2, Style));
+  EXPECT_EQ(Code2, format(Code3, Style));
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150848



More information about the cfe-commits mailing list