[llvm] r258928 - Remove superfluous call to std::to_string that's breaking the cygwin build.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 05:22:39 PST 2016


Author: d0k
Date: Wed Jan 27 07:22:39 2016
New Revision: 258928

URL: http://llvm.org/viewvc/llvm-project?rev=258928&view=rev
Log:
Remove superfluous call to std::to_string that's breaking the cygwin build.

Modified:
    llvm/trunk/tools/llvm-readobj/ELFDumper.cpp

Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=258928&r1=258927&r2=258928&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Wed Jan 27 07:22:39 2016
@@ -2286,8 +2286,7 @@ template <class ELFT> void ELFDumper<ELF
         while (Member < Data.size()) {
           auto Sec = errorOrDefault(Obj->getSection(Data[Member]));
           const StringRef Name = errorOrDefault(Obj->getSectionName(Sec));
-          W.startLine() << Name << " (" << std::to_string(Data[Member++])
-                        << ")\n";
+          W.startLine() << Name << " (" << Data[Member++] << ")\n";
         }
       }
     }




More information about the llvm-commits mailing list