From 5281b7a320a813f378e7c4f7ca4d841e4b527ccb Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 17 Sep 2024 11:38:29 +0200 Subject: [PATCH] [clang-tidy] disable cppcoreguidelines-pro-bounds-pointer-arithmetic the check is not really helpful as all it points out is use of argc/argv or some handling of C API stuff --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 52a2d66b9..a74f40275 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -39,9 +39,11 @@ Checks: > -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-to-enum, -cppcoreguidelines-pro-type-vararg, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, -cppcoreguidelines-no-malloc, -google-readability-braces-around-statements, -google-readability-todo, + -hicpp-avoid-c_arrays, -hicpp-braces-around-statements, -hicpp-no-array-decay, -hicpp-no-assembler,