This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] let PointerAlignment dictate spacing of function ref qualifiers
ClosedPublic

Authored by jtbandes on Jun 17 2017, 8:55 PM.

Details

Summary

The original changes for ref qualifiers in rL272537 and rL272548 allowed function const+ref qualifier spacing to diverge from the spacing used for variables. It seems more consistent for T const& x; to match void foo() const&;.

Event Timeline

jtbandes created this revision.Jun 17 2017, 8:55 PM

@djasper bump, any thoughts on this?

djasper accepted this revision.Aug 9 2017, 2:31 AM

Looks good. Thank you!

This revision is now accepted and ready to land.Aug 9 2017, 2:31 AM
jtbandes closed this revision.Aug 9 2017, 6:31 PM