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

Commit 4b2d55b0 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

Disable modernize-avoid-c-arrays clang-tidy check

Bug: http://b/122481018

Upcoming clang update has a clang-tidy warning about using c arrays and
instead use std::array:
    warning: do not declare C-style arrays, use std::array<> instead

Disable this warning for now (even before the new clang update lands)
since clang-tidy doesn't complain about flags it doesn't know.

Test: Build with new clang.
Change-Id: I971b84301e6cd1180326bc54711d0be193f09ccb
parent db117605
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ cc_defaults {
        "misc-*",
        "modernize-*",
        "readability-*",
        "-modernize-avoid-c-arrays",
    ],
    tidy_flags: [
        "-system-headers",