Merge "Disable bugprone-reserved-identifier"

This commit is contained in:
Chih-hung Hsieh 2020-04-08 22:29:26 +00:00 committed by Gerrit Code Review
commit 88a7176174

View file

@ -117,6 +117,10 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
// which is used in many Android files.
tidyChecks = tidyChecks + ",-cert-dcl16-c"
}
// https://b.corp.google.com/issues/153464409
// many local projects enable cert-* checks, which
// trigger bugprone-reserved-identifier.
tidyChecks = tidyChecks + ",-bugprone-reserved-identifier*"
flags.TidyFlags = append(flags.TidyFlags, tidyChecks)
if len(tidy.Properties.Tidy_checks_as_errors) > 0 {