Minor code simplification.

llvm-svn: 109443
This commit is contained in:
Dan Gohman 2010-07-26 21:33:22 +00:00
parent 0eb9c124a7
commit 4888f1a210

View File

@ -234,8 +234,7 @@ std::string CodeCompletionString::getAsString() const {
default: OS << C->Text; break;
}
}
OS.flush();
return Result;
return OS.str();
}
const char *CodeCompletionString::getTypedText() const {