This is an archive of the discontinued LLVM Phabricator instance.

Remove range.h.
Needs ReviewPublic

Authored by ruiu on Feb 27 2016, 6:46 PM.

Details

Reviewers
pete
Summary

IIUC, range was an experiment to see how N3350 would work in LLD.
It turned out it didn't get traction, and it is basically duplicate
of iterator_range in ADT. We have only two occurrences of range,
and all of them are easily rewritten without it.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 49305.Feb 27 2016, 6:46 PM
ruiu retitled this revision from to Remove range.h..
ruiu updated this object.
ruiu added a reviewer: pete.
ruiu added a subscriber: llvm-commits.
pete edited edge metadata.Feb 27 2016, 7:59 PM
pete added a subscriber: pete.

Hi Ruiu

LGTM.

Seems like you replaced the uses with ArrayRef which is better anyway.

Thanks
Pete

include/lld/ReaderWriter/LinkerScript.h