summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-06-01 23:03:46 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-06-01 23:03:46 +0000
commit7f48be03a687d5bd6f7479df0156a5edaf32cc96 (patch)
tree334e89192d78a630a0832180a23c2510d6f38e8e /llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
parentae2fda11171c1260d60141db6110fd59a1b6620f (diff)
downloadbcm5719-llvm-7f48be03a687d5bd6f7479df0156a5edaf32cc96.tar.gz
bcm5719-llvm-7f48be03a687d5bd6f7479df0156a5edaf32cc96.zip
Rework r271439. I forgot to save the buffer for editing.
llvm-svn: 271441
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp b/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
index 769a4e35f74..f40ac356a0d 100644
--- a/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
+++ b/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
@@ -45,7 +45,7 @@ class DiscontiguousFile : public IPDBFile {
public:
DiscontiguousFile()
: Blocks(std::begin(BlocksAry), std::end(BlocksAry)),
- Data(makeArrayRef(DataAry)) {}
+ Data(std::begin(DataAry), std::end(DataAry)) {}
virtual uint32_t getBlockSize() const override { return 1; }
virtual uint32_t getBlockCount() const override { return 10; }
OpenPOWER on IntegriCloud