This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Make formatReplacements() also sort #includes.
ClosedPublic

Authored by ioeric on May 18 2016, 5:46 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

ioeric updated this revision to Diff 57601.May 18 2016, 5:46 AM
ioeric retitled this revision from to [clang-format] Make formatReplacements() also sort #includes..
ioeric updated this object.
ioeric added reviewers: bkramer, djasper.
ioeric added a subscriber: cfe-commits.
djasper accepted this revision.May 18 2016, 5:55 AM
djasper edited edge metadata.

Looks good. I am not even certain whether we want to keep a separate sortIncludes in the interface at all, but as this doesn't change the public API, it doesn't hurt.

This revision is now accepted and ready to land.May 18 2016, 5:55 AM
This revision was automatically updated to reflect the committed changes.