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
This commit is contained in:
Chris Lattner 2011-12-20 00:03:41 +00:00
parent e3376ecd50
commit f5c9bd07bc

View File

@ -145,6 +145,12 @@ public:
vector_.pop_back();
}
T pop_back_val() {
T Ret = back();
pop_back();
return Ret;
}
bool operator==(const SetVector &that) const {
return vector_ == that.vector_;
}