llvm.org GIT mirror llvm / 92f7386
We never compare iterators from two archives. Assert that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185934 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 7 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5353 Child(const Archive *Parent, const char *Start);
5454
5555 bool operator ==(const Child &other) const {
56 return (Parent == other.Parent) && (Data.begin() == other.Data.begin());
56 assert(Parent == other.Parent);
57 return Data.begin() == other.Data.begin();
5758 }
5859
5960 bool operator <(const Child &other) const {