]> granicus.if.org Git - llvm/commitdiff
[llvm-readobj] Remove a leftover string trim operation. NFC.
authorMartin Storsjo <martin@martin.st>
Thu, 29 Aug 2019 08:59:05 +0000 (08:59 +0000)
committerMartin Storsjo <martin@martin.st>
Thu, 29 Aug 2019 08:59:05 +0000 (08:59 +0000)
This became unnecessary in SVN r359153.

Differential Revision: https://reviews.llvm.org/D66815

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370307 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/COFFDumper.cpp

index 07843ae84b3d460636356755c1f79995c1f22e51..6b5564aebfc30333bf1caf7630f2a5aa2ae59653 100644 (file)
@@ -1844,7 +1844,6 @@ void COFFDumper::printResourceDirectoryTable(
       if (Level == "Type") {
         OS << ": ";
         printResourceTypeName(Entry.Identifier.ID, OS);
-        IDStr = IDStr.slice(0, IDStr.find_first_of(")", 0) + 1);
       } else {
         OS << ": (ID " << Entry.Identifier.ID << ")";
       }