| Index: cc/PRESUBMIT.py
|
| diff --git a/cc/PRESUBMIT.py b/cc/PRESUBMIT.py
|
| index 1aa48f3501ad2d186b20b626ae2de8013bb40423..03931614b81fddbc895a7f5fb5f4ad62d0d5c866 100644
|
| --- a/cc/PRESUBMIT.py
|
| +++ b/cc/PRESUBMIT.py
|
| @@ -191,12 +191,6 @@ def CheckScopedPtr(input_api, output_api,
|
| errors.append(output_api.PresubmitError(
|
| '%s:%d uses scoped_ptr<T>(). Use nullptr instead.' %
|
| (f.LocalPath(), line_number)))
|
| - # Disallow:
|
| - # foo.PassAs<T>();
|
| - if re.search(r'\bPassAs<.*?>\(\)', line):
|
| - errors.append(output_api.PresubmitError(
|
| - '%s:%d uses PassAs<T>(). Use Pass() instead.' %
|
| - (f.LocalPath(), line_number)))
|
| return errors
|
|
|
| def FindUnquotedQuote(contents, pos):
|
|
|