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

Commit 3d486d29 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove rust generated cpp code warnings"

parents 84bba84c 1a449cba
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",