[all-commits] [llvm/llvm-project] f8d10d: [clang-format][NFC] Refactor formatting unit tests.

r4nt via All-commits all-commits at lists.llvm.org
Wed Mar 1 04:38:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8d10d5ac9ab4b45b388c74357fc82fb96562e66
      https://github.com/llvm/llvm-project/commit/f8d10d5ac9ab4b45b388c74357fc82fb96562e66
  Author: Manuel Klimek <klimek at google.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M clang/unittests/Format/BracesInserterTest.cpp
    M clang/unittests/Format/BracesRemoverTest.cpp
    M clang/unittests/Format/CMakeLists.txt
    A clang/unittests/Format/FormatReplacementTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    A clang/unittests/Format/FormatTestBase.h
    M clang/unittests/Format/FormatTestComments.cpp
    A clang/unittests/Format/FormatTestMacroExpansion.cpp
    M clang/unittests/Format/FormatTestObjC.cpp
    M clang/unittests/Format/FormatTestTextProto.cpp
    M clang/unittests/Format/FormatTestUtils.h
    M clang/unittests/Format/IntegerLiteralSeparatorTest.cpp
    M clang/unittests/Format/QualifierFixerTest.cpp

  Log Message:
  -----------
  [clang-format][NFC] Refactor formatting unit tests.

Pull out common base class for formatting unit tests, removing duplicate
code that accumulated over the years.

Pull out macro expansion test into its own test file.




More information about the All-commits mailing list