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 /// Assign from a repeated element
void assign(unsigned NumElts, char Elt) { void assign(size_t NumElts, char Elt) {
this->SmallVectorImpl<char>::assign(NumElts, Elt); this->SmallVectorImpl<char>::assign(NumElts, Elt);
} }
@ -77,6 +77,11 @@ public:
void append(in_iter S, in_iter E) { void append(in_iter S, in_iter E) {
SmallVectorImpl<char>::append(S, E); SmallVectorImpl<char>::append(S, E);
} }
void append(size_t NumInputs, char Elt) {
SmallVectorImpl<char>::append(NumInputs, Elt);
}
/// Append from a StringRef /// Append from a StringRef
void append(StringRef RHS) { void append(StringRef RHS) {