From e92e286afba6f62dcd9667e7efc5d7ee7cfbdfc2 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Fri, 29 May 2020 15:23:09 +0200 Subject: [PATCH] Remove runtime/references check from cpplint config. Bug: webrtc:11630 Change-Id: I054b6b14b5784bfb5a44941595e2796031fc356e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176328 Reviewed-by: Karl Wiberg Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#31393} --- PRESUBMIT.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 247b78eaa0..199b726f3e 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -47,10 +47,13 @@ CPPLINT_BLACKLIST = [ # - build/c++11 : Rvalue ref checks are unreliable (false positives), # include file and feature blacklists are # google3-specific. +# - runtime/references : Mutable references are not banned by the Google +# C++ style guide anymore (starting from May 2020). # - whitespace/operators: Same as above (doesn't seem sufficient to eliminate # all move-related errors). BLACKLIST_LINT_FILTERS = [ '-build/c++11', + '-runtime/references', '-whitespace/operators', ]