Loading system/gd/Android.bp +5 −0 Original line number Diff line number Diff line Loading @@ -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", Loading Loading
system/gd/Android.bp +5 −0 Original line number Diff line number Diff line Loading @@ -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", Loading