projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a strange construct. Please review.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SmallString.h
diff --git
a/include/llvm/ADT/SmallString.h
b/include/llvm/ADT/SmallString.h
index c7a292d8b9098b08f93d2ab51b9fe290e2ea31a9..2818ebb320119569adb459318608fe1492afc598 100644
(file)
--- 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;
+ }
+
};