This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Enable comment reflowing in multiline comments containing pragmas
ClosedPublic

Authored by krasimir on Mar 7 2017, 8:22 AM.

Details

Summary

This patch enables comment reflowing of lines not matching the comment pragma regex
in multiline comments containing comment pragma lines. Previously, these comments
were dumped without being reindented to the result.

Diff Detail

Repository
rL LLVM

Event Timeline

krasimir created this revision.Mar 7 2017, 8:22 AM
krasimir updated this revision to Diff 90859.Mar 7 2017, 8:24 AM
  • Fix test comment
mprobst accepted this revision.Mar 7 2017, 8:42 AM

LGTM.

This revision is now accepted and ready to land.Mar 7 2017, 8:42 AM
krasimir updated this revision to Diff 90864.Mar 7 2017, 8:47 AM
  • Make the test example idiomatic
This revision was automatically updated to reflect the committed changes.