From 01a7c032630470297e8befc87d69ae34749d6b8e Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Thu, 26 Feb 2026 13:45:14 +0100 Subject: [PATCH] Add a comment to run clang-format and clang-tidy on all files on changes. --- .clang-format | 3 +++ .clang-tidy | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.clang-format b/.clang-format index 52d8f71395..de12b8f423 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,6 @@ +# If you change this file, please format all files of the codebase as part of your PR: +# pre-commit run clang-format --all + # Commented out parameters are those with the same value as base LLVM style. # We can uncomment them if we want to change their value, or enforce the # chosen value in case the base style changes (last sync: Clang 18.1.8). diff --git a/.clang-tidy b/.clang-tidy index c039640544..c00c14b5e3 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,3 +1,6 @@ +# If you change this file, please format all files of the codebase as part of your PR: +# pre-commit run --hook-stage manual clang-tidy --all + Checks: - -* - bugprone-use-after-move