Basic: import SmallString<> into clang namespace

(I was going to fix the TODO about DenseMap too, but
that would break self-host right now. See PR11922.)

llvm-svn: 149799
This commit is contained in:
Dylan Noblesmith
2012-02-05 02:13:05 +00:00
parent e27789991d
commit 2c1dd2716a
106 changed files with 238 additions and 236 deletions

View File

@@ -356,7 +356,7 @@ StringRef Selector::getNameForSlot(unsigned int argIndex) const {
}
std::string MultiKeywordSelector::getName() const {
llvm::SmallString<256> Str;
SmallString<256> Str;
llvm::raw_svector_ostream OS(Str);
for (keyword_iterator I = keyword_begin(), E = keyword_end(); I != E; ++I) {
if (*I)
@@ -458,7 +458,7 @@ static SelectorTableImpl &getSelectorTableImpl(void *P) {
SelectorTable::constructSetterName(IdentifierTable &Idents,
SelectorTable &SelTable,
const IdentifierInfo *Name) {
llvm::SmallString<100> SelectorName;
SmallString<100> SelectorName;
SelectorName = "set";
SelectorName += Name->getName();
SelectorName[3] = toupper(SelectorName[3]);