From: Michael Jeanson Date: Tue, 23 Jul 2024 20:50:52 +0000 (-0400) Subject: jjb: typo in clang-tidy regex 'hhp' -> 'hpp' X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d7d5a1ba45bba2a9a1c5c93487c3cb2db3187d3f;p=lttng-ci.git jjb: typo in clang-tidy regex 'hhp' -> 'hpp' Change-Id: Ic58bcb48a25fe48c835b5366d75a5c5696dc0f5e Signed-off-by: Michael Jeanson --- diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 12900c7..a0246ab 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -436,7 +436,7 @@ if [ "$BABELTRACE_CLANG_TIDY" = "yes" ]; then # Instead, run clan-tidy on all the files touched by the patch. while read -r filepath; do - if [[ "$filepath" =~ (\.cpp|\.hhp|\.c|\.h)$ ]]; then + if [[ "$filepath" =~ (\.cpp|\.hpp|\.c|\.h)$ ]]; then clang-tidy --fix-errors "$(realpath "$filepath")" fi done < <(git diff-tree --no-commit-id --diff-filter=d --name-only -r HEAD) diff --git a/scripts/liburcu/build.sh b/scripts/liburcu/build.sh index d7ae0d1..2831c88 100755 --- a/scripts/liburcu/build.sh +++ b/scripts/liburcu/build.sh @@ -378,7 +378,7 @@ if [ "$USERSPACE_RCU_CLANG_TIDY" = "yes" ]; then # Instead, run clan-tidy on all the files touched by the patch. while read -r filepath; do - if [[ "$filepath" =~ (\.cpp|\.hhp|\.c|\.h)$ ]]; then + if [[ "$filepath" =~ (\.cpp|\.hpp|\.c|\.h)$ ]]; then clang-tidy --fix-errors "$(realpath "$filepath")" fi done < <(git diff-tree --no-commit-id --diff-filter=d --name-only -r HEAD) diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index bb2b6b5..d6e9a86 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -513,7 +513,7 @@ if [ "$LTTNG_TOOLS_CLANG_TIDY" = "yes" ]; then # Instead, run clan-tidy on all the files touched by the patch. while read -r filepath; do - if [[ "$filepath" =~ (\.cpp|\.hhp|\.c|\.h)$ ]]; then + if [[ "$filepath" =~ (\.cpp|\.hpp|\.c|\.h)$ ]]; then clang-tidy --fix-errors "$(realpath "$filepath")" fi done < <(git diff-tree --no-commit-id --diff-filter=d --name-only -r HEAD) diff --git a/scripts/lttng-ust/build.sh b/scripts/lttng-ust/build.sh index 842206c..26672ca 100755 --- a/scripts/lttng-ust/build.sh +++ b/scripts/lttng-ust/build.sh @@ -370,7 +370,7 @@ if [ "$LTTNG_UST_CLANG_TIDY" = "yes" ]; then # Instead, run clan-tidy on all the files touched by the patch. while read -r filepath; do - if [[ "$filepath" =~ (\.cpp|\.hhp|\.c|\.h)$ ]]; then + if [[ "$filepath" =~ (\.cpp|\.hpp|\.c|\.h)$ ]]; then clang-tidy --fix-errors "$(realpath "$filepath")" fi done < <(git diff-tree --no-commit-id --diff-filter=d --name-only -r HEAD)