Merge "Set NoWarningsAsErrorsInTidyFlags" am: 4fd41ddb4a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2122977 Change-Id: I9c1647d979a2078cba21dbb38af51fe257e537c7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// Some clang-tidy checks have bugs or not work for Android.
|
// Some clang-tidy checks have bugs or don't work for Android.
|
||||||
// They are disabled here, overriding any locally selected checks.
|
// They are disabled here, overriding any locally selected checks.
|
||||||
globalNoCheckList = []string{
|
globalNoCheckList = []string{
|
||||||
// https://b.corp.google.com/issues/153464409
|
// https://b.corp.google.com/issues/153464409
|
||||||
|
@@ -66,7 +66,7 @@ func (tidy *tidyFeature) props() []interface{} {
|
|||||||
// Set this const to true when all -warnings-as-errors in tidy_flags
|
// Set this const to true when all -warnings-as-errors in tidy_flags
|
||||||
// are replaced with tidy_checks_as_errors.
|
// are replaced with tidy_checks_as_errors.
|
||||||
// Then, that old style usage will be obsolete and an error.
|
// Then, that old style usage will be obsolete and an error.
|
||||||
const NoWarningsAsErrorsInTidyFlags = false
|
const NoWarningsAsErrorsInTidyFlags = true
|
||||||
|
|
||||||
func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
|
func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
|
||||||
CheckBadTidyFlags(ctx, "tidy_flags", tidy.Properties.Tidy_flags)
|
CheckBadTidyFlags(ctx, "tidy_flags", tidy.Properties.Tidy_flags)
|
||||||
|
Reference in New Issue
Block a user