[PATCH] D147895: [clang-format] Handle Verilog assertions and loops

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 11 12:17:18 PDT 2023


HazardyKnusperkeks added inline comments.


================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:844
                     "};");
-  ASSERT_EQ(Tokens.size(), 44u);
+  ASSERT_EQ(Tokens.size(), 44u) << Tokens;
   EXPECT_TOKEN(Tokens[13], tok::kw_requires, TT_RequiresClause);
----------------
sstwcw wrote:
> HazardyKnusperkeks wrote:
> > Unrelated, I'd prefer it as a single commit.
> How should I name the separate commit?
I'd go with
[clang-format][NFC] Output tokens on test assert
or similar.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147895



More information about the cfe-commits mailing list