Skip to content

Commit ec7ab4b

Browse files
authored
[Infra] Bump clang-format to v15 (#10451)
1 parent c082484 commit ec7ab4b

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
@@ -130,7 +130,7 @@ To develop Firebase software, **install**:
130130
To install [clang-format] and [mint] using [Homebrew]:
131131

132132
```console
133-
brew install clang-format@14
133+
brew install clang-format@15
134134
brew install mint
135135
```
136136

README.md

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

142142
```console
143-
brew install clang-format@14
143+
brew install clang-format@15
144144
brew install mint
145145
```
146146

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@14
38+
brew install clang-format@15
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
@@ -42,7 +42,7 @@ version="${version/ (*)/}"
4242
version="${version/.*/}"
4343

4444
case "$version" in
45-
14)
45+
15)
4646
;;
4747
google3-trunk)
4848
echo "Please use a publicly released clang-format; a recent LLVM release"
@@ -51,7 +51,7 @@ case "$version" in
5151
exit 1
5252
;;
5353
*)
54-
echo "Please upgrade to clang-format version 14."
54+
echo "Please upgrade to clang-format version 15."
5555
echo "If it's installed via homebrew you can run:"
5656
echo "brew upgrade clang-format"
5757
exit 1

0 commit comments

Comments
 (0)