about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-20 07:15:25 +0800
committerGitHub <noreply@github.com>2018-03-20 07:15:25 +0800
commit1f5d31f8db456228a8aee430ce00dd969d740144 (patch)
tree0ba74debf73574ca15ab8d870fbe62191db775bd /src/rustllvm/PassWrapper.cpp
parentbaea60b610530c94ec12a914428cdf0a7d346a7e (diff)
parent16da5d4bb2d65a4d533d1da2a4e0d288d3a474c5 (diff)
downloadrust-1f5d31f8db456228a8aee430ce00dd969d740144.tar.gz
rust-1f5d31f8db456228a8aee430ce00dd969d740144.zip
Rollup merge of #49139 - sfackler:bufreader-buffer, r=SimonSapin
Add BufReader::buffer

This subsumes the need for an explicit is_empty function, and provides
access to the buffered data itself which has been requested from time to
time.

We could call this `buf` to match `fill_buf`, but I think I'd prefer `fill_buffer` anyways in hindsight.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions