This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] handle object types in extends positions.
ClosedPublic

Authored by mprobst on Aug 1 2017, 1:26 AM.

Details

Summary

clang-format would previously drop the whitespace after extends in code such as:

class Foo extends {} {}

Where the first set of curly braces is an inline object literal type.

Diff Detail

Repository
rL LLVM

Event Timeline

mprobst created this revision.Aug 1 2017, 1:26 AM
mprobst updated this revision to Diff 109078.Aug 1 2017, 4:08 AM
  • revert bogus change
djasper accepted this revision.Aug 1 2017, 4:36 AM

Looks good.

This revision is now accepted and ready to land.Aug 1 2017, 4:36 AM
This revision was automatically updated to reflect the committed changes.