Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25265082 authored by Jiyong Park's avatar Jiyong Park
Browse files

binder: enable tidy

Turn on clang_tidy for libbinder. All warnings are reported as errors,
but current warnings are exempted.

Bug: 162909698
Test: m libbinder

Change-Id: Ic608066ff79566b35a7ea8f74a5d407263916a9a
parent e56cd511
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -171,6 +171,20 @@ cc_library {
        misc_undefined: ["integer"],
    },
    min_sdk_version: "29",

    tidy: true,
    tidy_flags: [
        // Only check our headers
        "--header-filter=^.*frameworks/native/libs/binder/.*.h$",
    ],
    tidy_checks_as_errors: [
        "*",
        "-google-build-using-namespace",
        "-google-default-arguments",
        "-google-explicit-constructor",
        "-google-runtime-int",
        "-performance-unnecessary-value-param",
    ],
}

// AIDL interface between libbinder and framework.jar