summaryrefslogtreecommitdiffstats
path: root/chromium/v8/tools/v8_presubmit.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/tools/v8_presubmit.py')
-rwxr-xr-xchromium/v8/tools/v8_presubmit.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/v8/tools/v8_presubmit.py b/chromium/v8/tools/v8_presubmit.py
index 40677b3a0a3..587f8082a5f 100755
--- a/chromium/v8/tools/v8_presubmit.py
+++ b/chromium/v8/tools/v8_presubmit.py
@@ -59,12 +59,16 @@ from testrunner.local import utils
# We now run our own header guard check in PRESUBMIT.py.
# build/include_what_you_use: Started giving false positives for variables
# named "string" and "map" assuming that you needed to include STL headers.
+# runtime/references: As of May 2020 the C++ style guide suggests using
+# references for out parameters, see
+# https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs.
LINT_RULES = """
-build/header_guard
-build/include_what_you_use
-readability/fn_size
-readability/multiline_comment
+-runtime/references
-whitespace/comments
""".split()