summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yabin Cui <yabinc@google.com> 2020-04-10 05:39:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-04-10 05:39:59 +0000
commitbb5ee50e29cf3a20aa33b5372ceff8086ba4fb1a (patch)
treebc2df5bc0456b5c21a05e44628b6d6c34a447689
parent318f68226bb7283579e869cd04b50674a9e86d97 (diff)
parent70ba0e23a409c679caa8207ada497f7a82ce0662 (diff)
Merge "Disable cert-dcl51-cpp and -cert-dcl37-c."
-rw-r--r--cc/tidy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/tidy.go b/cc/tidy.go
index 6a13a7877..cfb5b6886 100644
--- a/cc/tidy.go
+++ b/cc/tidy.go
@@ -120,7 +120,7 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
// https://b.corp.google.com/issues/153464409
// many local projects enable cert-* checks, which
// trigger bugprone-reserved-identifier.
- tidyChecks = tidyChecks + ",-bugprone-reserved-identifier*"
+ tidyChecks = tidyChecks + ",-bugprone-reserved-identifier*,-cert-dcl51-cpp,-cert-dcl37-c"
flags.TidyFlags = append(flags.TidyFlags, tidyChecks)
if len(tidy.Properties.Tidy_checks_as_errors) > 0 {