This is an archive of the discontinued LLVM Phabricator instance.

clang-format: Last line in incomplete block is indented incorrectly
ClosedPublic

Authored by mxbOctasic on Apr 13 2016, 10:14 AM.

Details

Summary

This bug occurred when the end of the file was reached while parsing a block.
The indentation of the last line was reset to the initial indentation of the block.

Diff Detail

Event Timeline

mxbOctasic retitled this revision from to clang-format: Last line in incomplete block is indented incorrectly.
mxbOctasic updated this object.
mxbOctasic added a reviewer: djasper.
mxbOctasic added subscribers: cameron314, cfe-commits.
djasper accepted this revision.Apr 13 2016, 12:44 PM
djasper edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 13 2016, 12:44 PM
This revision was automatically updated to reflect the committed changes.