This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] test declared fields.
ClosedPublic

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

Details

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.

Diff Detail

Event Timeline

mprobst created this revision.Nov 7 2019, 2:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2019, 2:49 PM
MyDeveloperDay added a project: Restricted Project.Nov 7 2019, 3:31 PM
MyDeveloperDay added a subscriber: MyDeveloperDay.

Thanks for this patch, this LGTM

MyDeveloperDay accepted this revision.Nov 11 2019, 3:35 AM
This revision is now accepted and ready to land.Nov 11 2019, 3:35 AM
This revision was automatically updated to reflect the committed changes.