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

Commit 53ee78c3 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Global clang-tidy's dead, and not coming back." into main

parents 505ec881 0168b2a5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@ cc_defaults {
        "-fstack-protector-all",
        "-Wno-date-time",
    ],
    tidy: false, // crasher.cpp tests many memory access errors
    srcs: ["crasher.cpp"],
    arch: {
        arm: {
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package {

cc_binary {
    name: "mte_crash",
    tidy: false,
    srcs: ["mte_crash.cpp"],
    sanitize: {
        memtag_heap: true,
+0 −6
Original line number Diff line number Diff line
@@ -307,12 +307,6 @@ cc_library_host_static {

    generated_headers: ["platform_tools_version"],

    tidy_flags: [
        // DO NOT add quotes around header-filter flag regex argument,
        // because build/soong will add quotes around the whole flag.
        "-header-filter=(system/core/fastboot/|development/host/windows/usb/api/)",
    ],

    target: {
        windows: {
            srcs: ["usb_windows.cpp"],
+0 −12
Original line number Diff line number Diff line
@@ -32,18 +32,6 @@ cc_library {

    export_include_dirs: ["include"],

    tidy: true,
    tidy_checks: [
        "-*",
        "cert-*",
        "clang-analyzer-security*",
        "android-*",
    ],
    tidy_checks_as_errors: [
        "cert-*",
        "clang-analyzer-security*",
        "android-*",
    ],
    apex_available: [
        "//apex_available:anyapex",
        "//apex_available:platform",