Elvis Stansvik created ARROW-7304:
-------------------------------------
Summary: clang-tidy diagnostics not emitted for most headers
Key: ARROW-7304
URL: https://issues.apache.org/jira/browse/ARROW-7304
Project: Apache Arrow
Issue Type: Bug
Components: C++, CI
Affects Versions: 0.15.1
Reporter: Elvis Stansvik
The {{HeaderFilterRegex}} in {{.clang-tidy}} is written
HeaderFilterRegex:
'^(.*codegen.*|.*_generated.*|.*windows_compatibility.h|.*pyarrow_api.h|.*pyarrow_lib.h|.*python/config.h|.*python/platform.h|.*thirdparty/ae/.*|.*vendored/.*|.*RcppExports.cpp.*|)$'
as if it was an exclusion filter, but it is in fact an inclusion filter. So
clang-tidy diagnostics are not emitted for I guess most of the headers in Arrow.
See
https://github.com/apache/arrow/commit/72b553147e4bd47e100fbfd58ed49041561b7bc4#r36225046
which is where I ran into this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)