OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b992be1
)
add a missing operator
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Apr 2007 20:58:14 +0000
(20:58 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallString.h
b/include/llvm/ADT/SmallString.h
index
c7a292d
..
2818ebb
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;
+ }
+
};