clang-format: [JS] Fix incorrect detection of ternary expressions.
authorDaniel Jasper <djasper@google.com>
Wed, 27 May 2015 05:37:40 +0000 (05:37 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 27 May 2015 05:37:40 +0000 (05:37 +0000)
commit3e0dcc27d5eae976d1028f81813158c75a4b37a4
tree521fe62a116585b8d0f3f3b3c100a908250522b3
parent7c3bad52dd0bab7e4e9c14e4d21fff0b8d530a29
clang-format: [JS] Fix incorrect detection of ternary expressions.

A definintion like this could not be formatted at all:
  constructor({aa}: {
    aa?: string,
    aaaaaaaa?: string,
    aaaaaaaaaaaaaaa?: boolean,
    aaaaaa?: List<string>
  }) {
  }

llvm-svn: 238291
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTestJS.cpp