From f7ccbad5d9949e7ddd1cbef43d482553b811e026 Mon Sep 17 00:00:00 2001 From: Dylan Noblesmith Date: Sun, 5 Feb 2012 02:13:05 +0000 Subject: 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.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149799 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaCodeComplete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Sema/SemaCodeComplete.cpp') diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp index 06c1c93157..7d384486cb 100644 --- a/lib/Sema/SemaCodeComplete.cpp +++ b/lib/Sema/SemaCodeComplete.cpp @@ -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 -- cgit v1.2.3-18-g5258