Fix comment.
Test: make Change-Id: I6c69549cb873e1d160ec6d590749361dc1a291dd
This commit is contained in:
parent
66f7fdd1c8
commit
b767f913f1
|
@ -22,7 +22,7 @@ import (
|
||||||
func init() {
|
func init() {
|
||||||
// Most Android source files are not clang-tidy clean yet.
|
// Most Android source files are not clang-tidy clean yet.
|
||||||
// Default global tidy checks must exclude all checks that
|
// Default global tidy checks must exclude all checks that
|
||||||
// have found too many warnings.
|
// have found too many false positives.
|
||||||
pctx.VariableFunc("TidyDefaultGlobalChecks", func(ctx android.PackageVarContext) string {
|
pctx.VariableFunc("TidyDefaultGlobalChecks", func(ctx android.PackageVarContext) string {
|
||||||
if override := ctx.Config().Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
|
if override := ctx.Config().Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
|
||||||
return override
|
return override
|
||||||
|
|
Loading…
Reference in New Issue