[all-commits] [llvm/llvm-project] f8838f: [clang-format][NFC] Remove extraneous newlines at ...

Owen via All-commits all-commits at lists.llvm.org
Fri Aug 25 15:32:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8838f85e13e6030426183dd58db259b17e8e7e8
      https://github.com/llvm/llvm-project/commit/f8838f85e13e6030426183dd58db259b17e8e7e8
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

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

  Log Message:
  -----------
  [clang-format][NFC] Remove extraneous newlines at end of test cases

Removes some 500 newlines (\n and \r\n) at the end of test cases in
FormatTest.cpp.

Also changes a few verifyFormat() to verifyNoChange() in tests
InsertNewlineAtEOF and WhitespaceSensitiveMacros as messUp() removes
trailing newlines as well.

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




More information about the All-commits mailing list