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:
@@ -42,6 +42,8 @@ var (
|
|||||||
"-bugprone-unchecked-optional-access",
|
"-bugprone-unchecked-optional-access",
|
||||||
// http://b/265438407
|
// http://b/265438407
|
||||||
"-misc-use-anonymous-namespace",
|
"-misc-use-anonymous-namespace",
|
||||||
|
// http://b/285005947
|
||||||
|
"-performance-avoid-endl",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Some clang-tidy checks are included in some tidy_checks_as_errors lists,
|
// Some clang-tidy checks are included in some tidy_checks_as_errors lists,
|
||||||
@@ -56,6 +58,14 @@ var (
|
|||||||
"-bugprone-signed-char-misuse",
|
"-bugprone-signed-char-misuse",
|
||||||
// http://b/241819232
|
// http://b/241819232
|
||||||
"-misc-const-correctness",
|
"-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{
|
extraArgFlags = []string{
|
||||||
|
Reference in New Issue
Block a user