From 525dd90ec5d4164b61b05f00242c44948349fb5c Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 22 Apr 2021 23:00:04 +0000 Subject: libbinder: disable disabled tidy warnings Before we disabled a clang tidy warning by reducing it to a warning. This was invisible at the time, but now that clang is updated, it's build log spam. Fixes: 186144656 Test: build and no logs Test: introduce a clang-tidy violation to make sure other checks are still enabled Change-Id: I53a55949f809a9c05b3676c11e679ac3d98614eb --- libs/binder/Android.bp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp index cba82071d4..b489d5258d 100644 --- a/libs/binder/Android.bp +++ b/libs/binder/Android.bp @@ -192,6 +192,9 @@ cc_library { // Only check our headers "--header-filter=^.*frameworks/native/libs/binder/.*.h$", ], + tidy_checks: [ + "-performance-no-int-to-ptr", + ], tidy_checks_as_errors: [ // Explicitly list the checks that should not occur in this module. "abseil-*", @@ -212,7 +215,6 @@ cc_library { "-misc-redundant-expression", "-misc-unused-using-decls", "performance*", - "-performance-no-int-to-ptr", "portability*", ], -- cgit v1.2.3-59-g8ed1b