[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
Tue Aug 27 12:00:31 PDT 2019
mstorsjo created this revision.
mstorsjo added reviewers: thakis, rnk, ruiu.
Herald added subscribers: seiya, rupprecht.
Herald added a project: LLVM.
This became unnecessary in SVN r359153.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D66815
Files:
llvm/tools/llvm-readobj/COFFDumper.cpp
Index: llvm/tools/llvm-readobj/COFFDumper.cpp
===================================================================
--- llvm/tools/llvm-readobj/COFFDumper.cpp
+++ llvm/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.217461.patch
Type: text/x-patch
Size: 476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190827/0791995e/attachment.bin>
More information about the llvm-commits
mailing list