From d7d5a1ba45bba2a9a1c5c93487c3cb2db3187d3f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 23 Jul 2024 16:50:52 -0400 Subject: [PATCH] jjb: typo in clang-tidy regex 'hhp' -> 'hpp' Change-Id: Ic58bcb48a25fe48c835b5366d75a5c5696dc0f5e Signed-off-by: Michael Jeanson --- scripts/babeltrace/build.sh | 2 +- scripts/liburcu/build.sh | 2 +- scripts/lttng-tools/build.sh | 2 +- scripts/lttng-ust/build.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.34.1