This is an archive of the discontinued LLVM Phabricator instance.

Replace size calls on containers with empty calls where appropriate
ClosedPublic

Authored by xazax.hun on Jan 21 2015, 3:55 AM.

Details

Reviewers
alexfh
Summary

Replace size calls on containers with empty calls where appropriate. This patch is the result of applying the fixits of the recently committed readability-container-size-empty checker in clang tidy. A similar patch was committed to the backend already: http://reviews.llvm.org/rL226161

All the tests are passed on my machine.

Diff Detail

Event Timeline

xazax.hun updated this revision to Diff 18499.Jan 21 2015, 3:55 AM
xazax.hun retitled this revision from to Replace size calls on containers with empty calls where appropriate.
xazax.hun updated this object.
xazax.hun edited the test plan for this revision. (Show Details)
xazax.hun added a subscriber: Unknown Object (MLST).
alexfh accepted this revision.Jan 23 2015, 7:25 AM
alexfh added a reviewer: alexfh.
alexfh added a subscriber: alexfh.

Looks good!

This revision is now accepted and ready to land.Jan 23 2015, 7:25 AM
alexfh closed this revision.Jan 23 2015, 7:38 AM

Committed revision 226914.