This reverts parts of commit r241747. MSVC doesn't like it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241753
91177308-0d34-0410-b5e6-
96231b3b80d8
Child child;
public:
+ child_iterator() : child(Child(nullptr, nullptr)) {}
child_iterator(const Child &c) : child(c) {}
const Child *operator->() const { return &child; }
const Child &operator*() const { return child; }
bool IsNewMember;
StringRef Name;
- union {
object::Archive::child_iterator OldI;
+
StringRef NewFilename;
- };
public:
NewArchiveIterator(object::Archive::child_iterator I, StringRef Name);