summaryrefslogtreecommitdiff
path: root/deps/v8/PRESUBMIT.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/PRESUBMIT.py')
-rw-r--r--deps/v8/PRESUBMIT.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/PRESUBMIT.py b/deps/v8/PRESUBMIT.py
index 8aea920ef4..201bf55f71 100644
--- a/deps/v8/PRESUBMIT.py
+++ b/deps/v8/PRESUBMIT.py
@@ -433,6 +433,8 @@ def _CheckMacroUndefs(input_api, output_api):
undef_match = undef_pattern.match(line)
if undef_match:
+ if "// NOLINT" in line:
+ continue
name = undef_match.group(1)
if not name in defined_macros:
errors.append('{}:{}: Macro named \'{}\' was not defined before.'