[all-commits] [llvm/llvm-project] 8b131d: [clang-format][NFC] Change EXPECT_EQ to verifyForm...

Owen via All-commits all-commits at lists.llvm.org
Wed Aug 30 13:07:29 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b131d2e1480f0b4023e72d5fb3cd8df364fb87b
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  [clang-format][NFC] Change EXPECT_EQ to verifyFormat or verifyNoChange

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.

Differential Revision: https://reviews.llvm.org/D159051

More information about the All-commits mailing list