From b2515ff7cee2a85fe95a3f0e3f41fedbe0facb9b Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Thu, 25 Oct 2018 22:12:07 +0900 Subject: [PATCH] Disable noisy clang-tidy warning for int and long types These are hard to avoid when working with POSIX APIs: warning: consider replacing 'unsigned int' with 'uint32' [google-runtime-int] Change-Id: I30047ff05ff680a9337671368e6b82ba88244f79 --- Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.bp b/Android.bp index ca64e87..deaf71e 100644 --- a/Android.bp +++ b/Android.bp @@ -13,5 +13,7 @@ cc_defaults { "android-*", "cert-*", "clang-analyzer-security*", + // Disabling due to many unavoidable warnings from POSIX API usage. + "-google-runtime-int", ], }