jjb: babeltrace: use clang-format-16
[lttng-ci.git] / scripts / babeltrace / lint.sh
index e17799012f0686e8fe1753d246defc306b935577..5581c35fd0b1fb76a3fcc0be466071197ab0ce4f 100755 (executable)
@@ -61,7 +61,7 @@ else
 fi
 
 if [[ -f tools/format-cpp.sh ]]; then
-    FORMATTER="clang-format-15 -i" tools/format-cpp.sh
+    FORMATTER="clang-format-16 -i" tools/format-cpp.sh
     git diff --exit-code | tee ../../clang-format.out || exit_code=1
 fi
 
@@ -69,4 +69,8 @@ if [[ -f tools/shellcheck.sh ]]; then
     tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1
 fi
 
+if [[ -f tools/check-include-guards.sh ]]; then
+    tools/check-include-guards.sh | tee ../../check-include-guards.out || exit_code=1
+fi
+
 exit $exit_code
This page took 0.02302 seconds and 4 git commands to generate.