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