add a missing operator
authorChris Lattner <sabre@nondot.org>
Mon, 23 Apr 2007 20:58:14 +0000 (20:58 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Apr 2007 20:58:14 +0000 (20:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36375 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/SmallString.h

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