summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
author Henri Chataing <henrichataing@google.com> 2024-10-23 20:45:34 +0000
committer Henri Chataing <henrichataing@google.com> 2024-11-04 23:55:48 +0000
commit693806af40503e055d4c90a3dfe9f30f63078da1 (patch)
treec657b65c42c8aafa64612e96ebcfc5583f125338 /.clang-tidy
parent36f11bebfc51fd4a0f09aa50afc5f4973234fd7b (diff)
system/btif: clang-tidy fixes
Bug: 374984156 Test: m com.android.btservices Test: WITH_TIDY_FLAGS=--fix m libbtif Flag: EXEMPT, no logical change Change-Id: I1f89824743dd57ca6961c513e460603623d1f117
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy18
1 files changed, 16 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index df0d649f1f..9dc029bd56 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,4 +1,18 @@
---
CheckOptions:
- - key: misc-include-cleaner.IgnoreHeaders
- value: (fmt/.*|bits/pthread_types\.h)
+ - key: misc-include-cleaner.IgnoreHeaders
+ value: "(\
+ fmt/.*|\
+ bits/.*.h|\
+ asm-generic/.*.h|\
+ sys/poll.h|\
+ sys/endian.h|\
+ sys/ioctl.h|\
+ arpa/inet.h|\
+ linux/if.h|\
+ linux/sockios.h|\
+ netinet/in.h|\
+ osi/include/compat.h|\
+ android_bluetooth_sysprop.h|\
+ hfp.sysprop.h|\
+ __chrono/duration.h)"