summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cc/tidy.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/tidy.go b/cc/tidy.go
index 810d089e5..a3d548bb6 100644
--- a/cc/tidy.go
+++ b/cc/tidy.go
@@ -68,6 +68,7 @@ func (tidy *tidyFeature) props() []interface{} {
// Then, that old style usage will be obsolete and an error.
const NoWarningsAsErrorsInTidyFlags = true
+// keep this up to date with https://cs.android.com/android/platform/superproject/+/master:build/bazel/rules/cc/clang_tidy.bzl
func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
CheckBadTidyFlags(ctx, "tidy_flags", tidy.Properties.Tidy_flags)
CheckBadTidyChecks(ctx, "tidy_checks", tidy.Properties.Tidy_checks)