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

Commit 1a449cba authored by Chris Manton's avatar Chris Manton
Browse files

Remove rust generated cpp code warnings

Bug: 162114100
Test: cert/run
Tag: #refactor

Change-Id: I92bd8d1008ef75ad0100b84c9b564ce1a8689ee9
parent 2861249a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -94,6 +94,11 @@ cc_defaults {
        "-google*",
        "-performance*",
        "-bugprone*",
        "-cert-dcl21-cpp",  // warning: overloaded returns a non-constant object instead of a constant object type
        "-cert-dcl59-cpp",  // warning: do not use unnamed namespaces in header files
        "-cert-oop54-cpp",  // warning: operator=() does not handle self-assignment properly
        "-cert-msc50-cpp",  // warning: rand() has limited randomness; use C++11 random library instead
        "-cert-msc30-c",    // warning: rand() has limited randomness; use C++11 random library instead
    ],
    tidy_checks_as_errors: [
        "cppcoreguidelines-pro-type-member-init",