summaryrefslogtreecommitdiffstats
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
commit3e8d122a25e6aa1b4c2fe029c2b20fe7e3b5072a (patch)
tree5cad976feae2764bd8778ec6baed35d669b782dd
parent215e9cd3c29bb59dfd0814777796e8c72b626bae (diff)
downloadbcm5719-llvm-3e8d122a25e6aa1b4c2fe029c2b20fe7e3b5072a.tar.gz
bcm5719-llvm-3e8d122a25e6aa1b4c2fe029c2b20fe7e3b5072a.zip
add a missing operator
llvm-svn: 36375
-rw-r--r--llvm/include/llvm/ADT/SmallString.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/ADT/SmallString.h b/llvm/include/llvm/ADT/SmallString.h
index c7a292d8b90..2818ebb3201 100644
--- a/llvm/include/llvm/ADT/SmallString.h
+++ b/llvm/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;
+ }
+
};
OpenPOWER on IntegriCloud