This revision was automatically updated to reflect the committed changes.
Closed by commit rGa7638d384983: clang-format: [JS] support null operators.
(authored by mprobst).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69971/new/
https://reviews.llv
mprobst updated this revision to Diff 228495.
mprobst added a comment.
Add tests for .?(foo) and .?[foo].
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69971/new/
https://reviews.llvm.org/D69971
Files:
clang/lib/Format/FormatToken.h
clang/lib/
MyDeveloperDay accepted this revision.
MyDeveloperDay added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69971/new/
https://reviews.llvm.org/D69971
___
mprobst created this revision.
mprobst added a reviewer: krasimir.
Herald added a project: clang.
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