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
This commit is contained in:
Yabin Cui
2023-06-03 02:05:19 +00:00
committed by Gerrit Code Review

View File

@@ -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{