[llvm] [ci] Bump the version of clang-format used in the CI (PR #119915)
Louis Dionne via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 11:09:23 PST 2024
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/119915
The version of clang-format we use in the CI to format all PRs is a bit outdated, leading to some confusion when the CI job produces different output from what people have locally.
We should decide on a policy for updating this version since it impacts the whole monorepo, and we should document the version currently in use somewhere (in the Contributing docs?). We should also decide on a policy for whether to re-apply clang-format to the whole codebase whenever we change this version.
>From 418c94746074d3f960d03365ded12e5aceb82769 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Fri, 13 Dec 2024 14:04:24 -0500
Subject: [PATCH] [ci] Bump the version of clang-format used in the CI
The version of clang-format we use in the CI to format all
PRs is a bit outdated, leading to some confusion when the
CI job produces different output from what people have locally.
We should decide on a policy for updating this version since
it impacts the whole monorepo, and we should document the version
currently in use somewhere (in the Contributing docs?). We should
also decide on a policy for whether to re-apply clang-format to
the whole codebase whenever we change this version.
---
.github/workflows/pr-code-format.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index f2bb37316d3a8b..5eb017737e853d 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -60,7 +60,7 @@ jobs:
- name: Install clang-format
uses: aminya/setup-cpp at v1
with:
- clangformat: 18.1.7
+ clangformat: 19.1.5
- name: Setup Python env
uses: actions/setup-python at v5
More information about the llvm-commits
mailing list