From: Chris Lattner Date: Mon, 23 Apr 2007 20:58:14 +0000 (+0000) Subject: add a missing operator X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=703f5291c4f7199a95274df5e3381b36f8faf38c;p=oota-llvm.git add a missing operator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36375 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/SmallString.h b/include/llvm/ADT/SmallString.h index c7a292d8b90..2818ebb3201 100644 --- a/include/llvm/ADT/SmallString.h +++ b/include/llvm/ADT/SmallString.h @@ -49,6 +49,11 @@ public: this->append(RHS, RHS+strlen(RHS)); return *this; } + SmallString &operator+=(char C) { + this->push_back(C); + return *this; + } + };