diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0a460cbdd87..2679fbd217e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -132,7 +132,7 @@ To develop Firebase software, **install**: To install [clang-format] and [mint] using [Homebrew]: ```console - brew install clang-format@20 + brew install clang-format@21 brew install mint ``` diff --git a/README.md b/README.md index 6c5168f8bbe..15a560d92f7 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ GitHub Actions will verify that any code changes are done in a style-compliant way. Install `clang-format` and `mint`: ```console -brew install clang-format@20 +brew install clang-format@21 brew install mint ``` diff --git a/scripts/setup_check.sh b/scripts/setup_check.sh index 805596a9ae6..faf4715c688 100755 --- a/scripts/setup_check.sh +++ b/scripts/setup_check.sh @@ -35,7 +35,7 @@ fi # install clang-format brew update -brew install clang-format@20 +brew install clang-format@21 # mint installs tools from Mintfile on demand. brew install mint diff --git a/scripts/style.sh b/scripts/style.sh index 72a31312d72..c8c15f5155a 100755 --- a/scripts/style.sh +++ b/scripts/style.sh @@ -56,7 +56,7 @@ version="${version/ (*)/}" version="${version/.*/}" case "$version" in - 20) + 21) ;; google3-trunk) echo "Please use a publicly released clang-format; a recent LLVM release" @@ -65,7 +65,7 @@ case "$version" in exit 1 ;; *) - echo "Please upgrade to clang-format version 20." + echo "Please upgrade to clang-format version 21." echo "If it's installed via homebrew you can run:" echo "brew upgrade clang-format" exit 1