summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-12-16 10:02:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-12-16 10:02:02 +0000
commita21c6bc86e963cc39de166a8bfb1b99ce6815f61 (patch)
tree93c9d9b8f4a79ab03e44c38534f0f4c5d532d4e8 /libs
parent2705d04f15050a6146551671c1130f6361d2ec26 (diff)
parent7ad197b965f64c5d5fa029facba8ed4d27ac88cf (diff)
Merge "Exclude some tidy checks from errors for libbinder and libbinder_ndk"
Diffstat (limited to 'libs')
-rw-r--r--libs/binder/Android.bp8
-rw-r--r--libs/binder/ndk/Android.bp8
2 files changed, 16 insertions, 0 deletions
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index ee0259d5fd..08b984ea1b 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -182,6 +182,14 @@ cc_library {
],
tidy_checks_as_errors: [
"*",
+ "-clang-analyzer-core.CallAndMessage",
+ "-clang-analyzer-core.uninitialized.Assign",
+ "-clang-analyzer-unix.Malloc,",
+ "-clang-analyzer-deadcode.DeadStores",
+ "-clang-analyzer-optin.cplusplus.UninitializedObject",
+ "-misc-no-recursion",
+ "-misc-redundant-expression",
+ "-misc-unused-using-decls",
],
}
diff --git a/libs/binder/ndk/Android.bp b/libs/binder/ndk/Android.bp
index a57beeea85..bdb74dc989 100644
--- a/libs/binder/ndk/Android.bp
+++ b/libs/binder/ndk/Android.bp
@@ -105,6 +105,14 @@ cc_library {
],
tidy_checks_as_errors: [
"*",
+ "-clang-analyzer-core.CallAndMessage",
+ "-clang-analyzer-core.uninitialized.Assign",
+ "-clang-analyzer-unix.Malloc,",
+ "-clang-analyzer-deadcode.DeadStores",
+ "-clang-analyzer-optin.cplusplus.UninitializedObject",
+ "-misc-no-recursion",
+ "-misc-redundant-expression",
+ "-misc-unused-using-decls",
],
}