aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-23 20:58:14 +0000
committerChris Lattner <sabre@nondot.org>2007-04-23 20:58:14 +0000
commit703f5291c4f7199a95274df5e3381b36f8faf38c (patch)
tree9b03301dd00a988c83e27fa664e874a5a9fa4ce0
parentb992be14bb1a04fc222684dfe6ba75df168d15ec (diff)
downloadexternal_llvm-703f5291c4f7199a95274df5e3381b36f8faf38c.zip
external_llvm-703f5291c4f7199a95274df5e3381b36f8faf38c.tar.gz
external_llvm-703f5291c4f7199a95274df5e3381b36f8faf38c.tar.bz2
add a missing operator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36375 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/ADT/SmallString.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/ADT/SmallString.h b/include/llvm/ADT/SmallString.h
index c7a292d..2818ebb 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;
+ }
+
};