[PATCH] D159051: [clang-format][NFC] Change EXPECT_EQ to verifyFormat or verifyNoChang

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 28 19:42:47 PDT 2023


owenpan created this revision.
Herald added projects: All, clang, clang-format.
Herald added a subscriber: cfe-commits.
Herald added reviewers: rymiel, HazardyKnusperkeks, MyDeveloperDay.
owenpan requested review of this revision.
Herald added a subscriber: ormris.

Replaces some 600 `EXPECT_EQ()` to `verifyFormat()` or `verifyNoChange()` in FormatTest.cpp because the former neither checks stability of formatting nor tests formatting C++ as Objective C.

Also marks dozens of unstable test cases with FIXME comments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159051

Files:
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159051.554139.patch
Type: text/x-patch
Size: 344864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230829/166ce528/attachment-0001.bin>


More information about the cfe-commits mailing list