This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] exponentiation operator
ClosedPublic

Authored by mprobst on May 4 2017, 7:32 AM.

Details

Summary

While its precedence should be higher than multiplicative, LLVM does not have a level for that, so for the time being just treat it as multiplicative.

Diff Detail

Repository
rL LLVM

Event Timeline

mprobst created this revision.May 4 2017, 7:32 AM
djasper accepted this revision.May 4 2017, 8:03 AM
djasper added inline comments.
unittests/Format/FormatTestJS.cpp
1791 ↗(On Diff #97826)

Also make this handle **= ?

This revision is now accepted and ready to land.May 4 2017, 8:03 AM
mprobst updated this revision to Diff 97829.May 4 2017, 8:10 AM
  • support **=
djasper accepted this revision.May 4 2017, 8:12 AM

Thanks

This revision was automatically updated to reflect the committed changes.