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 31caa27bf5
commit e39f27ae75
1 changed files with 6 additions and 1 deletions

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);
}
@ -77,6 +77,11 @@ public:
void append(in_iter S, in_iter E) {
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) {