add a missing operator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-23 20:58:14 +00:00
parent b992be14bb
commit 703f5291c4

View File

@ -49,6 +49,11 @@ public:
this->append(RHS, RHS+strlen(RHS));
return *this;
}
SmallString &operator+=(char C) {
this->push_back(C);
return *this;
}
};