[PATCH] D66815: [01/10] [llvm-readobj] Remove a leftover string trim operation. NFC.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 01:57:44 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL370307: [llvm-readobj] Remove a leftover string trim operation. NFC. (authored by mstorsjo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D66815?vs=217461&id=217796#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66815/new/

https://reviews.llvm.org/D66815

Files:
  llvm/trunk/tools/llvm-readobj/COFFDumper.cpp


Index: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
===================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
@@ -1844,7 +1844,6 @@
       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 << ")";
       }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66815.217796.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190829/49d7a6fd/attachment.bin>


More information about the llvm-commits mailing list