This is an archive of the discontinued LLVM Phabricator instance.

clang-format: fix prefix for doxygen comments after member
ClosedPublic

Authored by Typz on May 17 2017, 8:16 AM.

Details

Summary

Doxygen supports putting documentation blocks after member, by adding
an additional < marker in the comment block. This patch makes sure
this marker is used in lines which are introduced by breaking the
comment.

int foo; ///< Some very long comment.

becomes:

int foo; ///< Some very long
         ///< comment.

Diff Detail

Repository
rL LLVM

Event Timeline

Typz created this revision.May 17 2017, 8:16 AM
djasper added a subscriber: djasper.
krasimir accepted this revision.May 18 2017, 12:13 AM

Looks good. Thank you!

This revision is now accepted and ready to land.May 18 2017, 12:13 AM
Typz added a comment.May 18 2017, 12:24 AM

I don't have commit access, can someone please commit this patch?

I'll commit this.

This revision was automatically updated to reflect the committed changes.