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

Commit 0b64cfe1 authored by Elliott Hughes's avatar Elliott Hughes Committed by Automerger Merge Worker
Browse files

Merge "Global clang-tidy's dead, and not coming back." into main am: 53ee78c3 am: 2cc984ce

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


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


    generated_headers: ["platform_tools_version"],
    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: {
    target: {
        windows: {
        windows: {
            srcs: ["usb_windows.cpp"],
            srcs: ["usb_windows.cpp"],
+0 −12
Original line number Original line Diff line number Diff line
@@ -32,18 +32,6 @@ cc_library {


    export_include_dirs: ["include"],
    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: [
        "//apex_available:anyapex",
        "//apex_available:anyapex",
        "//apex_available:platform",
        "//apex_available:platform",