You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ga...@apache.org on 2026/07/12 01:51:02 UTC

(iceberg-cpp) branch main updated: build: enable clang-tidy misc-include-cleaner for include hygiene (#820)

This is an automated email from the ASF dual-hosted git repository.

wgtmac pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 2191844e build: enable clang-tidy misc-include-cleaner for include hygiene (#820)
2191844e is described below

commit 2191844e14f4efd3d6ee9bf5d0db835e218c1ffd
Author: Anupam Yadav <an...@gmail.com>
AuthorDate: Sat Jul 11 18:50:58 2026 -0700

    build: enable clang-tidy misc-include-cleaner for include hygiene (#820)
---
 .clang-tidy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.clang-tidy b/.clang-tidy
index e7e8abd3..5b13a055 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -21,6 +21,7 @@ Checks: |
   clang-analyzer-*,
   google-*,
   modernize-*,
+  misc-include-cleaner,
   readability-identifier-naming,
   readability-isolate-declaration,
   -modernize-use-nodiscard,
@@ -41,5 +42,7 @@ CheckOptions:
     value:  '_'
   - key:    modernize-use-scoped-lock.WarnOnSingleLocks
     value:  'false'
+  - key:    misc-include-cleaner.IgnoreHeaders
+    value:  'arrow/.*;avro/.*;aws/.*;cpr/.*;gmock/.*;gtest/.*;nanoarrow/.*;nlohmann/.*;parquet/.*;roaring/.*;spdlog/.*;sqlpp23/.*;sqlite3\.h;thrift/.*;utf8proc\.h;zlib\.h'
 
 HeaderFilterRegex: 'src/iceberg|example'