diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index 27cbc4295..49ed07c6f 100644 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -948,7 +948,8 @@ def _RietveldOwnerAndReviewers(input_api, email_regexp, approval_needed=False): def _CheckConstNSObject(input_api, output_api, source_file_filter): """Checks to make sure no objective-c files have |const NSSomeClass*|.""" pattern = input_api.re.compile( - r'const\s+NS(?!(Point|Range|Rect|Size)\s*\*)\w*\s*\*') + r'(?