Skip to content

Commit

Permalink
MINOR: [C++] Make clang-tidy stop complaining about C arrays (apache#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
felipecrv authored Jun 19, 2023
1 parent 9589338 commit d55cfaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Checks: |
-clang-analyzer-alpha*,
google-*,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
# produce HeaderFilterRegex from cpp/build-support/lint_exclusions.txt with:
Expand Down

0 comments on commit d55cfaa

Please sign in to comment.