[lld] r192278 - [cleanup] remove unused private variable
Shankar Easwaran
shankare at codeaurora.org
Tue Oct 8 22:37:02 PDT 2013
Author: shankare
Date: Wed Oct 9 00:37:01 2013
New Revision: 192278
URL: http://llvm.org/viewvc/llvm-project?rev=192278&view=rev
Log:
[cleanup] remove unused private variable
Modified:
lld/trunk/include/lld/ReaderWriter/FileArchive.h
Modified: lld/trunk/include/lld/ReaderWriter/FileArchive.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/FileArchive.h?rev=192278&r1=192277&r2=192278&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/FileArchive.h (original)
+++ lld/trunk/include/lld/ReaderWriter/FileArchive.h Wed Oct 9 00:37:01 2013
@@ -64,7 +64,8 @@ public:
virtual bool isWholeArchive() const { return _isWholeArchive; }
/// \brief parse each member
- virtual error_code parseAllMembers(std::vector<std::unique_ptr<File>> &result) const {
+ virtual error_code
+ parseAllMembers(std::vector<std::unique_ptr<File>> &result) const {
for (auto mf = _archive->begin_children(),
me = _archive->end_children(); mf != me; ++mf) {
OwningPtr<MemoryBuffer> buff;
@@ -138,7 +139,6 @@ private:
atom_collection_vector<UndefinedAtom> _undefinedAtoms;
atom_collection_vector<SharedLibraryAtom> _sharedLibraryAtoms;
atom_collection_vector<AbsoluteAtom> _absoluteAtoms;
- mutable uint64_t _curChildOrd;
bool _isWholeArchive;
public:
More information about the llvm-commits
mailing list