[llvm] [libcxx] Add pre-commit hooks and git config for libc++ & git-clang-format. (PR #73798)

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 08:52:09 PST 2023


================
@@ -0,0 +1,31 @@
+#!/bin/bash
----------------
ldionne wrote:

We don't have to block making this change on the rest of the community. We're not forcing anyone to use the scripts, we're merely providing them and who wants to use them will use them. I really think we should put those scripts in a libc++ agnostic location and make them apply exactly the same thing as `pr-code-format.yml` so that this becomes a way to essentially run the same checks as that workflow, but locally.

https://github.com/llvm/llvm-project/pull/73798


More information about the llvm-commits mailing list