Skip to content

Commit

Permalink
update clang version.
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y committed Jul 28, 2024
1 parent 20b38c0 commit ed089e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/format/clang_format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Find clang-format
tools='
clang-format-8
clang-format-14
clang
'

clang_format=''
Expand All @@ -24,7 +24,7 @@ echo "Found clang-format: $(which ${clang_format})"

# Check version
version_string=$($clang_format --version | sed -E 's/^.*(\d+\.\d+\.\d+-.*).*$/\1/')
expected_version_string='14.0.6'
expected_version_string='14.0.0'
if [[ "$version_string" =~ "$expected_version_string" ]]; then
echo "clang-format version '$version_string' matches '$expected_version_string'"
else
Expand Down

0 comments on commit ed089e9

Please sign in to comment.