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

Commit 48fa309a authored by Yabin Cui's avatar Yabin Cui Committed by Gerrit Code Review
Browse files

Merge changes from topic "clang_stable_r498229"

* changes:
  Suppress clang-tidy warnings causing build errors after clang update
  Suppress performance-avold-endl clang-tidy warning
parents 82f0e5da c31c2fb0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ var (
		"-bugprone-unchecked-optional-access",
		// http://b/265438407
		"-misc-use-anonymous-namespace",
		// http://b/285005947
		"-performance-avoid-endl",
	}

	// Some clang-tidy checks are included in some tidy_checks_as_errors lists,
@@ -56,6 +58,14 @@ var (
		"-bugprone-signed-char-misuse",
		// http://b/241819232
		"-misc-const-correctness",
		// http://b/285356805
		"-bugprone-unsafe-functions",
		"-cert-msc24-c",
		"-cert-msc33-c",
		// http://b/285356799
		"-modernize-type-traits",
		// http://b/285361108
		"-readability-avoid-unconditional-preprocessor-if",
	}

	extraArgFlags = []string{