Bläddra i källkod

[Infra] Bump clang-format to v15 (#10451)

Denver Coneybeare 3 år sedan
förälder
incheckning
ec7ab4ba7c
4 ändrade filer med 5 tillägg och 5 borttagningar
  1. 1 1
      CONTRIBUTING.md
  2. 1 1
      README.md
  3. 1 1
      scripts/setup_check.sh
  4. 2 2
      scripts/style.sh

+ 1 - 1
CONTRIBUTING.md

@@ -130,7 +130,7 @@ To develop Firebase software, **install**:
    To install [clang-format] and [mint] using [Homebrew]:
 
     ```console
-    brew install clang-format@14
+    brew install clang-format@15
     brew install mint
     ```
 

+ 1 - 1
README.md

@@ -140,7 +140,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@14
+brew install clang-format@15
 brew install mint
 ```
 

+ 1 - 1
scripts/setup_check.sh

@@ -35,7 +35,7 @@ fi
 
 # install clang-format
 brew update
-brew install clang-format@14
+brew install clang-format@15
 
 # mint installs tools from Mintfile on demand.
 brew install mint

+ 2 - 2
scripts/style.sh

@@ -42,7 +42,7 @@ version="${version/ (*)/}"
 version="${version/.*/}"
 
 case "$version" in
-  14)
+  15)
     ;;
   google3-trunk)
     echo "Please use a publicly released clang-format; a recent LLVM release"
@@ -51,7 +51,7 @@ case "$version" in
     exit 1
     ;;
   *)
-    echo "Please upgrade to clang-format version 14."
+    echo "Please upgrade to clang-format version 15."
     echo "If it's installed via homebrew you can run:"
     echo "brew upgrade clang-format"
     exit 1