[cfe-commits] r83066 - /cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp
Chris Lattner
clattner at apple.com
Tue Sep 29 10:58:51 PDT 2009
On Sep 29, 2009, at 8:13 AM, Douglas Gregor wrote:
> Author: dgregor
> Date: Tue Sep 29 10:13:39 2009
> New Revision: 83066
>
> URL: http://llvm.org/viewvc/llvm-project?rev=83066&view=rev
> Log:
> Make sure to flush raw_string_ostream, from John Thompson
Not a big deal, but another way to do this is "return OS.str();"
-Chris
>
> Modified:
> cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp
>
> Modified: cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp?rev=83066&r1=83065&r2=83066&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp (original)
> +++ cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp Tue Sep 29 10:13:39
> 2009
> @@ -92,7 +92,7 @@
> case CK_Informative: OS << "[#" << C->Text << "#]"; break;
> }
> }
> -
> + OS.flush();
> return Result;
> }
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list