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

Commit 25baf12a authored by Joshua Duong's avatar Joshua Duong Committed by Automerger Merge Worker
Browse files

Merge "[clang-tidy] Add bugprone-inaccurate-erase check." am: 4aa07333 am: 27cb1336

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1365228

Change-Id: I8e0f3c623c695e48f61f141e63ceda6eea783fc7
parents 30b52007 27cb1336
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -12,6 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

tidy_errors = [
    "-*",
    "bugprone-inaccurate-erase",
]

cc_defaults {
    name: "adb_defaults",

@@ -73,6 +78,10 @@ cc_defaults {
            ],
        },
    },

    tidy: true,
    tidy_checks: tidy_errors,
    tidy_checks_as_errors: tidy_errors,
}

cc_defaults {