This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch unity-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/unity-staging by this push:
     new 550aa6e66d clang-format-15 => clang-format-10
550aa6e66d is described below

commit 550aa6e66d483d425e652bbc3fa0f94f6ed83914
Author: Junru Shao <[email protected]>
AuthorDate: Sun May 7 10:51:52 2023 -0700

    clang-format-15 => clang-format-10
---
 tests/lint/git-clang-format.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/lint/git-clang-format.sh b/tests/lint/git-clang-format.sh
index e640e05867..829fbaf0a7 100755
--- a/tests/lint/git-clang-format.sh
+++ b/tests/lint/git-clang-format.sh
@@ -55,15 +55,15 @@ cleanup()
 }
 trap cleanup 0
 
-CLANG_FORMAT=clang-format-15
+CLANG_FORMAT=clang-format-10
 
-if [ -x "$(command -v clang-format-15)" ]; then
-    CLANG_FORMAT=clang-format-15
+if [ -x "$(command -v clang-format-10)" ]; then
+    CLANG_FORMAT=clang-format-10
 elif [ -x "$(command -v clang-format)" ]; then
-    echo "clang-format might be different from clang-format-15, expect 
potential difference."
+    echo "clang-format might be different from clang-format-10, expect 
potential difference."
     CLANG_FORMAT=clang-format
 else
-    echo "Cannot find clang-format-15"
+    echo "Cannot find clang-format-10"
     exit 1
 fi
 
@@ -88,6 +88,6 @@ echo "---------clang-format log----------"
 cat /tmp/$$.clang-format.txt
 echo ""
 if grep --quiet -E "diff" < /tmp/$$.clang-format.txt; then
-    echo "clang-format lint error found. Consider running clang-format-15 on 
these files to fix them."
+    echo "clang-format lint error found. Consider running clang-format-10 on 
these files to fix them."
     exit 1
 fi

Reply via email to