diff options
author | Martin Probst <martin@probst.io> | 2019-11-07 23:39:03 +0100 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2019-11-11 16:35:35 +0100 |
commit | a7638d384983e8e3eb44a2d8c757238efc7096dc (patch) | |
tree | 53214762176bda8ffaded6b59b65b643aaa1dbc3 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 48b7068beca9d3a39dcfbebcb384b59b7898065f (diff) | |
download | bcm5719-llvm-a7638d384983e8e3eb44a2d8c757238efc7096dc.tar.gz bcm5719-llvm-a7638d384983e8e3eb44a2d8c757238efc7096dc.zip |
clang-format: [JS] support null operators.
Summary:
JavaScript / TypeScript is adding two new operators: the null
propagating operator `?.` and the nullish coalescing operator `??`.
const x = foo ?? 'default';
const z = foo?.bar?.baz;
This change adds support to lex and format both.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69971
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions