From df8605a4c12a6ca295df22868831179449395add Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 15 Sep 2025 12:40:27 +0200 Subject: [PATCH] Suppress cppcoreguidelines-pro-bounds-avoid-unchecked-container-access (#4919) * :rotating_light: suppress cppcoreguidelines-pro-bounds-avoid-unchecked-container-access Signed-off-by: Niels Lohmann * :rotating_light: suppress llvm-use-ranges Signed-off-by: Niels Lohmann --------- Signed-off-by: Niels Lohmann --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index cce415cf7..72d1de5eb 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -22,6 +22,7 @@ Checks: '*, -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-usage, + -cppcoreguidelines-pro-bounds-avoid-unchecked-container-access, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cppcoreguidelines-pro-bounds-constant-array-index, -cppcoreguidelines-pro-bounds-pointer-arithmetic, @@ -46,6 +47,7 @@ Checks: '*, -llvm-header-guard, -llvm-include-order, -llvm-prefer-static-over-anonymous-namespace, + -llvm-use-ranges, -llvmlibc-*, -misc-use-anonymous-namespace, -misc-confusable-identifiers,