[all-commits] [llvm/llvm-project] c85214: [clang-format][NFC] Skip stability test if input i...

Owen via All-commits all-commits at lists.llvm.org
Sat Aug 26 14:48:50 PDT 2023


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

  Changed paths:
    M clang/unittests/Format/FormatTestBase.h

  Log Message:
  -----------
  [clang-format][NFC] Skip stability test if input is pre-formatted

This shortens the run-time of FormatTests by about 10% on average (and
by up to 50% if formatting would not change the input).

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




More information about the All-commits mailing list