HomePhabricator

clang-format: [JS] test declared fields.

Authored by mprobst on Nov 7 2019, 2:37 PM.

Description

clang-format: [JS] test declared fields.

Summary:
TypeScript now supports declaring fields:

class Foo {
  declare field: string;
}

clang-format happens to already format this fine, so this change just
adds a regression test.

Reviewers: krasimir

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D69972

Details

Committed
mprobstNov 11 2019, 7:36 AM
Differential Revision
D69972: clang-format: [JS] test declared fields.
Parents
rGa7638d384983: clang-format: [JS] support null operators.
Branches
Unknown
Tags
Unknown