]> granicus.if.org Git - clang/commit
clang-format: [JS] Prevent confusing TypeScript parameters wraps.
authorDaniel Jasper <djasper@google.com>
Mon, 6 Jul 2015 14:07:51 +0000 (14:07 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 6 Jul 2015 14:07:51 +0000 (14:07 +0000)
commit33afa5e903341844612580861ec76cd4b7945f61
tree1f669210728684464d083c4e152c11435128d929
parent174220cf7ca637fd0db518705399fa761afc1a05
clang-format: [JS] Prevent confusing TypeScript parameters wraps.

Before:
  aaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:
                     aaaaaaaaaaaaaaaaaa): aaaaaaaaaaaaaaaaaaaaaa {}

After:
  aaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
                     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa):
      aaaaaaaaaaaaaaaaaaaaaa {}

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241444 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/ContinuationIndenter.cpp
unittests/Format/FormatTestJS.cpp