summaryrefslogtreecommitdiff
path: root/Android.bp
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 /Android.bp
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 'Android.bp')
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 71d6d402c2..216ffdc51f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -85,6 +85,11 @@ bluetooth_tidy_checks = [
// This check implements detection of local variables which could be declared
// as const but are not.
"-misc-const-correctness",
+
+ // Finds classes that contain non-static data members in addition to user-declared
+ // non-static member functions and diagnose all data members declared with a
+ // non-public access specifier.
+ "-misc-non-private-member-variables-in-classes",
]
// This default tidy checks that will be run against all the cc targets