summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/CodeCompleteConsumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/CodeCompleteConsumer.cpp')
-rw-r--r--clang/lib/Sema/CodeCompleteConsumer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/CodeCompleteConsumer.cpp b/clang/lib/Sema/CodeCompleteConsumer.cpp
index a3d4d92fc3c..a8988a6ba83 100644
--- a/clang/lib/Sema/CodeCompleteConsumer.cpp
+++ b/clang/lib/Sema/CodeCompleteConsumer.cpp
@@ -92,7 +92,7 @@ std::string CodeCompletionString::getAsString() const {
case CK_Informative: OS << "[#" << C->Text << "#]"; break;
}
}
-
+ OS.flush();
return Result;
}
OpenPOWER on IntegriCloud