This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Add comment manipulation header
ClosedPublic

Authored by krasimir on Oct 18 2016, 6:13 AM.

Details

Summary

Introduces a separate target for comment manipulation.
Currently, comment manipulation is in BreakableComment.cpp.
Towards implementing comment reflowing, we want to factor out the
comment-related functionality, so it can be reused.
Start simple by just moving out getLineCommentIndentPrefix.

Diff Detail

Repository
rL LLVM

Event Timeline

krasimir updated this revision to Diff 74988.Oct 18 2016, 6:13 AM
krasimir retitled this revision from to [clang-format] Add comment manipulation header.
krasimir updated this object.
krasimir added a reviewer: djasper.
djasper accepted this revision.Oct 18 2016, 7:29 AM
djasper edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Oct 18 2016, 7:29 AM

Please land. I have no commit rights yet.

This revision was automatically updated to reflect the committed changes.