This is an archive of the discontinued LLVM Phabricator instance.

Prevent loop-convert from leaving empty lines after removing an alias declaration.
ClosedPublic

Authored by angelgarcia on Oct 1 2015, 5:35 AM.

Diff Detail

Event Timeline

angelgarcia updated this revision to Diff 36231.Oct 1 2015, 5:35 AM
angelgarcia retitled this revision from to Prevent loop-convert from leaving empty lines after removing an alias declaration..
angelgarcia updated this object.
angelgarcia added a reviewer: klimek.
angelgarcia added subscribers: alexfh, cfe-commits.
klimek added inline comments.Oct 1 2015, 5:46 AM
clang-tidy/modernize/LoopConvertCheck.cpp
455–457

Replace this with something like:
We need to delete a potential newline after the deleted alias, as clang-format will leave empty lines untouched. For all other formatting we rely on clang-format to fix it.

klimek accepted this revision.Oct 1 2015, 5:46 AM
klimek edited edge metadata.

apart from that LG

This revision is now accepted and ready to land.Oct 1 2015, 5:46 AM
angelgarcia updated this revision to Diff 36234.Oct 1 2015, 5:53 AM
angelgarcia edited edge metadata.

Change a comment.

angelgarcia closed this revision.Oct 1 2015, 6:10 AM