summaryrefslogtreecommitdiffstats
path: root/cc/PRESUBMIT.py
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2014-10-10 10:18:28 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-10 17:18:40 +0000
commit4bef9dd91fa3cbb3cf08386e215b4746eab60a05 (patch)
tree56b6736eada913dbcbaab0761dd26cf8026db6bb /cc/PRESUBMIT.py
parentf7d519c2cadca33fbc4991af386ae4f23ebf8808 (diff)
downloadchromium_src-4bef9dd91fa3cbb3cf08386e215b4746eab60a05.zip
chromium_src-4bef9dd91fa3cbb3cf08386e215b4746eab60a05.tar.gz
chromium_src-4bef9dd91fa3cbb3cf08386e215b4746eab60a05.tar.bz2
cc: Stop warning about virtual+override until we can remove the virtuals
This is making people ignore other presubmit warnings in all the noise. R=ajuma, enne, vmpstr Review URL: https://codereview.chromium.org/639183005 Cr-Commit-Position: refs/heads/master@{#299132}
Diffstat (limited to 'cc/PRESUBMIT.py')
-rw-r--r--cc/PRESUBMIT.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/PRESUBMIT.py b/cc/PRESUBMIT.py
index d749aac..6dff371 100644
--- a/cc/PRESUBMIT.py
+++ b/cc/PRESUBMIT.py
@@ -21,6 +21,10 @@ def CheckChangeLintsClean(input_api, output_api):
input_api.AffectedSourceFiles(source_filter)]
level = 1 # strict, but just warn
+ # TODO(danakj): Temporary, while the OVERRIDE and FINAL fixup is in progress.
+ # crbug.com/422353
+ input_api.cpplint._SetFilters('-readability/inheritance')
+
for file_name in files:
input_api.cpplint.ProcessFile(file_name, level)