[llvm] r271441 - Rework r271439. I forgot to save the buffer for editing.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 16:03:46 PDT 2016


Author: chapuni
Date: Wed Jun  1 18:03:46 2016
New Revision: 271441

URL: http://llvm.org/viewvc/llvm-project?rev=271441&view=rev
Log:
Rework r271439. I forgot to save the buffer for editing.

Modified:
    llvm/trunk/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp

Modified: llvm/trunk/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp?rev=271441&r1=271440&r2=271441&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp (original)
+++ llvm/trunk/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp Wed Jun  1 18:03:46 2016
@@ -45,7 +45,7 @@ class DiscontiguousFile : public IPDBFil
 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; }




More information about the llvm-commits mailing list