Skip to content

Commit d55cfaa

Browse files
authored
MINOR: [C++] Make clang-tidy stop complaining about C arrays (apache#36102)
### Rationale for this change `std::array` is rarely a good fit for the kind of low-level array and buffer manipulation that Arrow does, so having `clang-tidy` complaining about C-style arrays confuses more than it helps. ### What changes are included in this PR? Change in `.clang-tidy`. ### Are these changes tested? I checked on my editor. Warnings not shown anymore. Authored-by: Felipe Oliveira Carvalho <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
1 parent 9589338 commit d55cfaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.clang-tidy

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Checks: |
2121
-clang-analyzer-alpha*,
2222
google-*,
2323
modernize-*,
24+
-modernize-avoid-c-arrays,
2425
-modernize-use-trailing-return-type,
2526
-modernize-use-nodiscard,
2627
# produce HeaderFilterRegex from cpp/build-support/lint_exclusions.txt with:

0 commit comments

Comments
 (0)