]> granicus.if.org Git - clang/commitdiff
Make sure to flush raw_string_ostream, from John Thompson
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Sep 2009 15:13:39 +0000 (15:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Sep 2009 15:13:39 +0000 (15:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83066 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/CodeCompleteConsumer.cpp

index a3d4d92fc3cc5b29f8bad3ff7924c852fdcda4b2..a8988a6ba83b81d80bd9b81ce23ff9102c73fb07 100644 (file)
@@ -92,7 +92,7 @@ std::string CodeCompletionString::getAsString() const {
     case CK_Informative: OS << "[#" << C->Text << "#]"; break;
     }
   }
-  
+  OS.flush();
   return Result;
 }