Reviewers: Benedikt Meurer,

Description:
[presubmit] Fix whitespace/empty_loop_body linter violations.

[email protected]

Please review this at https://codereview.chromium.org/1327523003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -3 lines):
  M src/allocation-tracker.cc
  M tools/presubmit.py


Index: src/allocation-tracker.cc
diff --git a/src/allocation-tracker.cc b/src/allocation-tracker.cc
index 0822c1f4da63ffdcf15b8cfaec36a5bc471de534..3125b0215ae597c03e667001dece91957cfb4e1a 100644
--- a/src/allocation-tracker.cc
+++ b/src/allocation-tracker.cc
@@ -176,8 +176,7 @@ void AddressToTraceMap::RemoveRange(Address start, Address end) {
       break;
     }
     ++it;
-  }
-  while (it != ranges_.end());
+  } while (it != ranges_.end());

   ranges_.erase(to_remove_begin, it);

Index: tools/presubmit.py
diff --git a/tools/presubmit.py b/tools/presubmit.py
index e8f50edfa6c913c5af5bf59dd013cb1aa6b04ef0..4836bd953b29157cf4c2501fd93e5f587b12bada 100755
--- a/tools/presubmit.py
+++ b/tools/presubmit.py
@@ -68,7 +68,6 @@ LINT_RULES = """
 -runtime/references
 -runtime/threadsafe_fn
 -whitespace/semicolon
--whitespace/empty_loop_body
 """.split()

 LINT_OUTPUT_PATTERN = re.compile(r'^.+[:(]\d+[:)]|^Done processing')


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to