This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] prefer wrapping chains over empty literals.
ClosedPublic

Authored by mprobst on Aug 1 2017, 4:46 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

mprobst created this revision.Aug 1 2017, 4:46 AM
djasper added inline comments.Aug 1 2017, 8:58 AM
lib/Format/TokenAnnotator.cpp
2009 ↗(On Diff #109082)

Or just Left.opensScope() && Right.closesScope()?

Technically, that's probably not the same thing, but otherwise you have unmatched brackets and that's bad no matter what, no?

This revision was automatically updated to reflect the committed changes.