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

Commit aa1ab68e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove rust generated cpp code warnings" am: 3d486d29 am: 1343776b...

Merge "Remove rust generated cpp code warnings" am: 3d486d29 am: 1343776b am: 9e52e04e am: 43c3566b am: 99c39ab2

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1844700

Change-Id: I31cd6a42ade594500f2bbc2f37d1311dc28398da
parents fa2d961e 99c39ab2
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",