[llvm] r250385 - [llvm-pdbdump] Remove oddly placed parens that MSVC doesn't like
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 02:32:55 PDT 2015
Author: d0k
Date: Thu Oct 15 04:32:54 2015
New Revision: 250385
URL: http://llvm.org/viewvc/llvm-project?rev=250385&view=rev
Log:
[llvm-pdbdump] Remove oddly placed parens that MSVC doesn't like
Modified:
llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp?rev=250385&r1=250384&r2=250385&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp Thu Oct 15 04:32:54 2015
@@ -361,7 +361,7 @@ static void dumpStructure(MemoryBufferRe
if (BytesLeftToReadInStream == 0)
break;
- uint32_t BytesToReadInBlock = (std::min)(
+ uint32_t BytesToReadInBlock = std::min(
BytesLeftToReadInStream, static_cast<uint32_t>(SB->BlockSize));
auto StreamBlockData =
StringRef(M.getBufferStart() + StreamBlockOffset, BytesToReadInBlock);
More information about the llvm-commits
mailing list