This is an archive of the discontinued LLVM Phabricator instance.

SpaceBeforeParens (Always) with overloaded operators
ClosedPublic

Authored by JonChesterfield on Aug 11 2015, 1:20 PM.

Details

Summary

The clang-format option SpaceBeforeParens "Always" does not insert a space before the opening parenthesis of an overloaded operator function. The attached patch against trunk resolves this.

Diff Detail

Repository
rL LLVM

Event Timeline

JonChesterfield retitled this revision from to SpaceBeforeParens (Always) with overloaded operators.
JonChesterfield updated this object.
JonChesterfield set the repository for this revision to rL LLVM.
JonChesterfield added a subscriber: cfe-commits.
djasper accepted this revision.Aug 11 2015, 1:25 PM
djasper added a reviewer: djasper.
djasper added a subscriber: djasper.

Looks good. Do you have commit access?

This revision is now accepted and ready to land.Aug 11 2015, 1:25 PM

Thanks. I have no commit access.

djasper closed this revision.Aug 11 2015, 1:33 PM

Submitted as r244660. Thank you.