[all-commits] [llvm/llvm-project] 800fec: [libc++] Enforce formatting for already formatted ...

philnik777 via All-commits all-commits at lists.llvm.org
Tue Feb 14 08:28:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 800fec13a81fb9553d7a8d681ba01a0700cbdf26
      https://github.com/llvm/llvm-project/commit/800fec13a81fb9553d7a8d681ba01a0700cbdf26
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M libcxx/utils/ci/buildkite-pipeline.yml
    M libcxx/utils/ci/run-buildbot
    A libcxx/utils/data/ignore_format.txt
    A libcxx/utils/generate_ignore_format.sh

  Log Message:
  -----------
  [libc++] Enforce formatting for already formatted and new files and ignore the formatting of tests

It is quite confusing to newcomers that the formatting check gets mostly ignored. To fix that, enforce the formatting for new file and already formatted files, but ignore it for any files that aren't formatted already. We ignore the tests for now, since almost no test is formatted currently, and they are changed almost never.

Reviewed By: ldionne, Mordante, #libc

Spies: arichardson, fedor.sergeev, phosek, sstefan1, libcxx-commits, abrachet

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




More information about the All-commits mailing list