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

Commit 3d3df826 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Disable bugprone-reserved-identifier

* Disable it for the next clang compiler update
  until all source files with this warning are fixed.

Bug: 153464409
Test: WITH_TIDY=1 make
Change-Id: I126d2f5170f3883192348577e523ef99f5c5a70e
parent 82aca767
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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 {