1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

stop hiding SmallVector's append that takes a count + element.

llvm-svn: 155297
This commit is contained in:
Chris Lattner 2012-04-21 21:02:03 +00:00
parent 97bbbe3368
commit fa3a37997f

View File

@ -45,7 +45,7 @@ public:
/// @{
/// Assign from a repeated element
void assign(unsigned NumElts, char Elt) {
void assign(size_t NumElts, char Elt) {
this->SmallVectorImpl<char>::assign(NumElts, Elt);
}
@ -78,6 +78,11 @@ public:
SmallVectorImpl<char>::append(S, E);
}
void append(size_t NumInputs, char Elt) {
SmallVectorImpl<char>::append(NumInputs, Elt);
}
/// Append from a StringRef
void append(StringRef RHS) {
SmallVectorImpl<char>::append(RHS.begin(), RHS.end());