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:
@@ -2474,7 +2474,7 @@ CodeCompletionResult::CreateCodeCompletionString(ASTContext &Ctx,
|
||||
Result.AddChunk(Chunk(CodeCompletionString::CK_Comma));
|
||||
|
||||
if (MI->isVariadic() && (A+1) == AEnd) {
|
||||
llvm::SmallString<32> Arg = (*A)->getName();
|
||||
SmallString<32> Arg = (*A)->getName();
|
||||
if (MI->isC99Varargs())
|
||||
Arg += ", ...";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user