This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] fix whitespace around "of" operator.
ClosedPublic

Authored by mprobst on Apr 4 2017, 9:03 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

mprobst created this revision.Apr 4 2017, 9:03 PM
djasper accepted this revision.Apr 5 2017, 1:16 AM
djasper added inline comments.
lib/Format/TokenAnnotator.cpp
2275 ↗(On Diff #94158)

Maybe:

// "of" is only a keyword if it appears after another identifier
// (e.g. as "const x of y" in a for loop).
This revision is now accepted and ready to land.Apr 5 2017, 1:16 AM
mprobst updated this revision to Diff 94188.Apr 5 2017, 4:07 AM
  • improve comment
This revision was automatically updated to reflect the committed changes.