Merge "Disable bugprone-reserved-identifier" am: 88a7176174
am: 8fd48a2b4b
Change-Id: I74bb709c4ca9df981bcd2e1ceaae4c85c44f97c8
This commit is contained in:
commit
d4262977d4
1 changed files with 4 additions and 0 deletions
|
@ -117,6 +117,10 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
|
||||||
// which is used in many Android files.
|
// which is used in many Android files.
|
||||||
tidyChecks = tidyChecks + ",-cert-dcl16-c"
|
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)
|
flags.TidyFlags = append(flags.TidyFlags, tidyChecks)
|
||||||
|
|
||||||
if len(tidy.Properties.Tidy_checks_as_errors) > 0 {
|
if len(tidy.Properties.Tidy_checks_as_errors) > 0 {
|
||||||
|
|
Loading…
Reference in a new issue