llvm.org GIT mirror llvm / f5c9bd0
add a method to improve compatibility with SmallVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146928 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 8 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
143143 set_.erase(back());
144144 vector_.pop_back();
145145 }
146
147 T pop_back_val() {
148 T Ret = back();
149 pop_back();
150 return Ret;
151 }
146152
147153 bool operator==(const SetVector &that) const {
148154 return vector_ == that.vector_;