[all-commits] [llvm/llvm-project] f2b7d9: Support: Allow use of MemoryBufferRef with line_it...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Tue Oct 13 13:45:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f2b7d9f7faa2788e362a91761a1624fb6b020851
https://github.com/llvm/llvm-project/commit/f2b7d9f7faa2788e362a91761a1624fb6b020851
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M llvm/include/llvm/Support/LineIterator.h
M llvm/lib/Support/LineIterator.cpp
M llvm/unittests/Support/LineIteratorTest.cpp
Log Message:
-----------
Support: Allow use of MemoryBufferRef with line_iterator
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.
Differential Revision: https://reviews.llvm.org/D89280
More information about the All-commits
mailing list