shithub: libvpx

Download patch

ref: 374f0ff4a019a34f57d7cd142438f032b7b14e24
parent: 9fdeeaf41106894ea1a3564cb081207c3a9a5938
parent: 15f29ef0922c6584dea69ac75367edb2f6934bb3
author: James Zern <jzern@google.com>
date: Thu Aug 4 15:03:02 EDT 2016

Merge changes from topic 'clang-format'

* changes:
  README: add a note about clang-format
  README: update target list
  README: fix typo

--- a/README
+++ b/README
@@ -47,10 +47,11 @@
   --help output of the configure script. As of this writing, the list of
   available targets is:
 
+    arm64-darwin-gcc
+    arm64-linux-gcc
     armv6-linux-rvct
     armv6-linux-gcc
     armv6-none-rvct
-    arm64-darwin-gcc
     armv7-android-gcc
     armv7-darwin-gcc
     armv7-linux-rvct
@@ -60,6 +61,7 @@
     armv7-win32-vs12
     armv7-win32-vs14
     armv7s-darwin-gcc
+    armv8-linux-gcc
     mips32-linux-gcc
     mips64-linux-gcc
     sparc-solaris-gcc
@@ -73,6 +75,7 @@
     x86-darwin12-gcc
     x86-darwin13-gcc
     x86-darwin14-gcc
+    x86-darwin15-gcc
     x86-iphonesimulator-gcc
     x86-linux-gcc
     x86-linux-icc
@@ -90,6 +93,7 @@
     x86_64-darwin12-gcc
     x86_64-darwin13-gcc
     x86_64-darwin14-gcc
+    x86_64-darwin15-gcc
     x86_64-iphonesimulator-gcc
     x86_64-linux-gcc
     x86_64-linux-icc
@@ -127,7 +131,22 @@
   $ ./configure --enable-unit-tests
   $ LIBVPX_TEST_DATA_PATH=../libvpx-test-data make testdata
 
+CODE STYLE:
+  The coding style used by this project is enforced with clang-format using the
+  configuration contained in the .clang-format file in the root of the
+  repository.
+
+  Before pushing changes for review you can format your code with:
+  # Apply clang-format to modified .c, .h and .cc files
+  $ clang-format -i --style=file \
+    $(git diff --name-only --diff-filter=ACMR '*.[hc]' '*.cc')
+
+  Check the .clang-format file for the version used to generate it if there is
+  any difference between your local formatting and the review system.
+
+  See also: http://clang.llvm.org/docs/ClangFormat.html
+
 SUPPORT
   This library is an open source project supported by its community. Please
-  please email webm-discuss@webmproject.org for help.
+  email webm-discuss@webmproject.org for help.