Skip to content

Commit 3c4e5cf

Browse files
committed
Update clang-format to 18
1 parent ced6ff7 commit 3c4e5cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ci/scripts/check_formatting_linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# The MIT License (MIT)
55
#
6-
# Copyright (c) 2021 TileDB, Inc.
6+
# Copyright (c) 2024 TileDB, Inc.
77
#
88
# Permission is hereby granted, free of charge, to any person obtaining a copy
99
# of this software and associated documentation files (the "Software"), to deal
@@ -35,4 +35,4 @@ sudo ./ci/scripts/install-clangformat.sh
3535
src=$GITHUB_WORKSPACE
3636
cd $src
3737

38-
$src/ci/scripts/run-clang-format.sh $src clang-format-16 0
38+
$src/ci/scripts/run-clang-format.sh $src clang-format-18 0

ci/scripts/install-clangformat.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# The MIT License (MIT)
55
#
6-
# Copyright (c) 2019-2021 TileDB, Inc.
6+
# Copyright (c) 2019-2024 TileDB, Inc.
77
#
88
# Permission is hereby granted, free of charge, to any person obtaining a copy
99
# of this software and associated documentation files (the "Software"), to deal
@@ -29,9 +29,9 @@ die() {
2929
}
3030

3131
install_apt_pkg() {
32-
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
33-
add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main' &&
34-
apt-get update -qq && apt-get install -qq -y clang-format-16
32+
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key > /etc/apt/trusted.gpg.d/apt.llvm.org.asc
33+
add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main' &&
34+
apt-get update -qq && apt-get install -qq -y clang-format-18
3535
}
3636

3737
install_brew_pkg() {

0 commit comments

Comments
 (0)