summaryrefslogtreecommitdiff
path: root/tools/clang-format
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-06-19 08:23:10 +0000
committerDaniel Jasper <djasper@google.com>2015-06-19 08:23:10 +0000
commit61123f5d3d92f5fa34152a72506f20b2098f75f1 (patch)
tree72f1b9d9c2614d67c69ecd267f1ec577232b2448 /tools/clang-format
parentf68ad12985dd957b0661f07a524b2645d33f41bc (diff)
downloadclang-61123f5d3d92f5fa34152a72506f20b2098f75f1.tar.gz
clang-format: Add TypeScript detection to git-clang-format.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format')
-rwxr-xr-xtools/clang-format/git-clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clang-format/git-clang-format b/tools/clang-format/git-clang-format
index 6a0db27fa9..0c45762ea5 100755
--- a/tools/clang-format/git-clang-format
+++ b/tools/clang-format/git-clang-format
@@ -78,6 +78,7 @@ def main():
# Other languages that clang-format supports
'proto', 'protodevel', # Protocol Buffers
'js', # JavaScript
+ 'ts', # TypeScript
])
p = argparse.ArgumentParser(