[lld] r199752 - Update for llvm api change.
Rafael Espindola
rafael.espindola at gmail.com
Tue Jan 21 08:09:55 PST 2014
Author: rafael
Date: Tue Jan 21 10:09:55 2014
New Revision: 199752
URL: http://llvm.org/viewvc/llvm-project?rev=199752&view=rev
Log:
Update for llvm api change.
Modified:
lld/trunk/lib/ReaderWriter/FileArchive.cpp
Modified: lld/trunk/lib/ReaderWriter/FileArchive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/FileArchive.cpp?rev=199752&r1=199751&r2=199752&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/FileArchive.cpp (original)
+++ lld/trunk/lib/ReaderWriter/FileArchive.cpp Tue Jan 21 10:09:55 2014
@@ -72,7 +72,7 @@ public:
/// \brief parse each member
virtual error_code
parseAllMembers(std::vector<std::unique_ptr<File>> &result) const {
- for (auto mf = _archive->begin_children(), me = _archive->end_children();
+ for (auto mf = _archive->child_begin(), me = _archive->child_end();
mf != me; ++mf) {
if (error_code ec = instantiateMember(mf, result))
return ec;
@@ -177,7 +177,7 @@ public:
DEBUG_WITH_TYPE("FileArchive", llvm::dbgs()
<< "Table of contents for archive '"
<< _archive->getFileName() << "':\n");
- for (auto i = _archive->begin_symbols(), e = _archive->end_symbols();
+ for (auto i = _archive->symbol_begin(), e = _archive->symbol_end();
i != e; ++i) {
StringRef name;
error_code ec;
More information about the llvm-commits
mailing list