[PATCH] D52142: [DebugInfo] Fix build when std::vector::iterator is a pointer

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 16 15:23:36 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL342354: [DebugInfo] Fix build when std::vector::iterator is a pointer (authored by kristina, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52142?vs=165665&id=165699#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52142

Files:
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp


Index: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2186,7 +2186,7 @@
 
   auto NoRangesPresent = [this]() {
     return llvm::all_of(
-        CUMap, [](const decltype(CUMap)::const_iterator::value_type &Pair) {
+        CUMap, [](const decltype(CUMap)::value_type &Pair) {
           return Pair.second->getRangeLists().empty();
         });
   };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52142.165699.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180916/d63820ba/attachment.bin>


More information about the llvm-commits mailing list