r205842 - clang-format: Add proto files and JavaScript to git-clang-format.

Daniel Jasper djasper at google.com
Wed Apr 9 02:22:35 PDT 2014


Author: djasper
Date: Wed Apr  9 04:22:35 2014
New Revision: 205842

URL: http://llvm.org/viewvc/llvm-project?rev=205842&view=rev
Log:
clang-format: Add proto files and JavaScript to git-clang-format.

Modified:
    cfe/trunk/tools/clang-format/git-clang-format

Modified: cfe/trunk/tools/clang-format/git-clang-format
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/git-clang-format?rev=205842&r1=205841&r2=205842&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/git-clang-format (original)
+++ cfe/trunk/tools/clang-format/git-clang-format Wed Apr  9 04:22:35 2014
@@ -75,6 +75,9 @@ def main():
       'm',  # ObjC
       'mm',  # ObjC++
       'cc', 'cp', 'cpp', 'c++', 'cxx', 'hpp',  # C++
+      # Other languages that clang-format supports
+      'proto', 'protodevel',  # Protocol Buffers
+      'js',  # JavaScript
       ])
 
   p = argparse.ArgumentParser(





More information about the cfe-commits mailing list