Reviewers: danno, Jakob,

Description:
Add clang-format to presubmit checks

The check doesn't modify the patch, instead, you'll have to use "git cl
format" manually.

BUG=none
[email protected],[email protected]
LOG=y

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

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -0 lines):
  M PRESUBMIT.py


Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 430692f9cafd01354a0afe1da821030ab65ba0d7..b55accae6caabae6e75a478159003bae31394737 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -114,6 +114,8 @@ def _CommonChecks(input_api, output_api):
   results = []
   results.extend(input_api.canned_checks.CheckOwners(
       input_api, output_api, source_file_filter=None))
+  results.extend(input_api.canned_checks.CheckPatchFormatted(
+      input_api, output_api))
   results.extend(_V8PresubmitChecks(input_api, output_api))
   results.extend(_CheckUnwantedDependencies(input_api, output_api))
   return results


--
--
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