projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2356f2b
)
Don't implicitly construct a Archive::child_iterator.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Tue, 3 Nov 2015 01:32:40 +0000
(
01:32
+0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Tue, 3 Nov 2015 01:32:40 +0000
(
01:32
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251878
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-nm/llvm-nm.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-nm/llvm-nm.cpp
b/tools/llvm-nm/llvm-nm.cpp
index 5cf6b4fb2ce6c95b452c8344e00ea90da9219dcf..948662918995b342619dbe55e7417dd4b4f4a699 100644
(file)
--- a/
tools/llvm-nm/llvm-nm.cpp
+++ b/
tools/llvm-nm/llvm-nm.cpp
@@
-952,10
+952,10
@@
static void dumpSymbolNamesFromFile(std::string &Filename) {
if (I != E) {
outs() << "Archive map\n";
for (; I != E; ++I) {
- ErrorOr<Archive::
child_iterator
> C = I->getMember();
+ ErrorOr<Archive::
Child
> C = I->getMember();
if (error(C.getError()))
return;
- ErrorOr<StringRef> FileNameOrErr = C
.get()
->getName();
+ ErrorOr<StringRef> FileNameOrErr = C->getName();
if (error(FileNameOrErr.getError()))
return;
StringRef SymName = I->getName();