1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Bitcode: Fix MSVC bot failure from r264549

make_unique => llvm::make_unique

llvm-svn: 264553
This commit is contained in:
Duncan P. N. Exon Smith 2016-03-27 23:36:55 +00:00
parent 66701f0f24
commit 2aefcc81e5

View File

@ -215,8 +215,9 @@ TEST(BitstreamReaderTest, readRecordWithBlobWhileStreaming) {
} }
// Stream the buffer into the reader. // Stream the buffer into the reader.
BitstreamReader R(make_unique<StreamingMemoryObject>( BitstreamReader R(llvm::make_unique<StreamingMemoryObject>(
make_unique<BufferStreamer>(StringRef(Buffer.begin(), Buffer.size())))); llvm::make_unique<BufferStreamer>(
StringRef(Buffer.begin(), Buffer.size()))));
BitstreamCursor Stream(R); BitstreamCursor Stream(R);
// Header. Included in test so that we can run llvm-bcanalyzer to debug // Header. Included in test so that we can run llvm-bcanalyzer to debug