This is an archive of the discontinued LLVM Phabricator instance.

Support: Allow use of MemoryBufferRef with line_iterator
ClosedPublic

Authored by dexonsmith on Oct 12 2020, 4:12 PM.

Details

Summary

Split out from https://reviews.llvm.org/D66782, use Optional<MemoryBufferRef>
in line_iterator so you don't need access to a MemoryBuffer*. Follow up
patches in clang/ will leverage this.

Diff Detail