Files
archived-llvm/tools
Nico Weber 1f1f02a43e Slightly simplify MappedBlockStream::createIndexedStream() calls
All callers had a PDBFile object at hand, so call
Pdb.createIndexedStream() instead, which pre-populates all the arguments
(and returns nullptr for kInvalidStreamIndex).

Also change safelyCreateIndexedStream() to only take the string index,
and update callers. Make the method public and call it in two places
that manually did the bounds checking before.

No intended behavior change.

Differential Revision: https://reviews.llvm.org/D64633

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365936 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-12 18:24:38 +00:00
..
2019-07-02 18:39:32 +00:00
2019-05-27 08:24:06 +00:00
2019-05-13 11:29:25 +00:00
2019-06-19 07:39:53 +00:00