Skip to content

Commit b70b411

Browse files
authored
fix(ci): Update to clang-format@21 (#15260)
1 parent 176f083 commit b70b411

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ To develop Firebase software, **install**:
132132
To install [clang-format] and [mint] using [Homebrew]:
133133

134134
```console
135-
brew install clang-format@20
135+
brew install clang-format@21
136136
brew install mint
137137
```
138138

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ GitHub Actions will verify that any code changes are done in a style-compliant
153153
way. Install `clang-format` and `mint`:
154154

155155
```console
156-
brew install clang-format@20
156+
brew install clang-format@21
157157
brew install mint
158158
```
159159

scripts/setup_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535

3636
# install clang-format
3737
brew update
38-
brew install clang-format@20
38+
brew install clang-format@21
3939

4040
# mint installs tools from Mintfile on demand.
4141
brew install mint

scripts/style.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ version="${version/ (*)/}"
5656
version="${version/.*/}"
5757

5858
case "$version" in
59-
20)
59+
21)
6060
;;
6161
google3-trunk)
6262
echo "Please use a publicly released clang-format; a recent LLVM release"
@@ -65,7 +65,7 @@ case "$version" in
6565
exit 1
6666
;;
6767
*)
68-
echo "Please upgrade to clang-format version 20."
68+
echo "Please upgrade to clang-format version 21."
6969
echo "If it's installed via homebrew you can run:"
7070
echo "brew upgrade clang-format"
7171
exit 1

0 commit comments

Comments
 (0)