Merge "Disable tidy default DeprecatedOrUnsafeBufferHandling check" am: cf637f101c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976066 Change-Id: Icdde9e0d5820fc7f45d3e2165b151f40774af987
This commit is contained in:
commit
ccf8597e8a
1 changed files with 2 additions and 1 deletions
|
@ -62,8 +62,9 @@ func init() {
|
|||
}, ",")
|
||||
// clang-analyzer-* checks are too slow to be in the default for WITH_TIDY=1.
|
||||
// nightly builds add CLANG_ANALYZER_CHECKS=1 to run those checks.
|
||||
// The insecureAPI.DeprecatedOrUnsafeBufferHandling warning does not apply to Android.
|
||||
if ctx.Config().IsEnvTrue("CLANG_ANALYZER_CHECKS") {
|
||||
checks += ",clang-analyzer-*"
|
||||
checks += ",clang-analyzer-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling"
|
||||
}
|
||||
return checks
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue