diff options
author | Martin Probst <martin@probst.io> | 2018-09-27 06:48:13 +0000 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2018-09-27 06:48:13 +0000 |
commit | 3315aed44ad03f04a7ca2a53dec42ec2d8bc8001 (patch) | |
tree | 6924fdbdf905698e39d656dfb6ccfc308eaed020 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 77708b2390879010fd866dad4eb8d361deaa15af (diff) | |
download | bcm5719-llvm-3315aed44ad03f04a7ca2a53dec42ec2d8bc8001.tar.gz bcm5719-llvm-3315aed44ad03f04a7ca2a53dec42ec2d8bc8001.zip |
clang-format: [JS] conditional types.
Summary:
This change adds some rudimentary support for conditional types.
Specifically it avoids breaking before `extends` and `infer` keywords,
which are subject to Automatic Semicolon Insertion, so breaking before
them creates incorrect syntax.
The actual formatting of the type expression is odd, but there is as of
yet no clear idea on how to format these.
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#conditional-types.
Reviewers: krasimir
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D52536
llvm-svn: 343179
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions