[Lldb-commits] [lldb] r149390 - in /lldb/trunk: include/lldb/Core/Stream.h source/Core/Stream.cpp
Enrico Granata
granata.enrico at gmail.com
Tue Jan 31 09:18:41 PST 2012
Author: enrico
Date: Tue Jan 31 11:18:40 2012
New Revision: 149390
URL: http://llvm.org/viewvc/llvm-project?rev=149390&view=rev
Log:
Comments edited to better reflect what the function really does
Modified:
lldb/trunk/include/lldb/Core/Stream.h
lldb/trunk/source/Core/Stream.cpp
Modified: lldb/trunk/include/lldb/Core/Stream.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Stream.h?rev=149390&r1=149389&r2=149390&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Stream.h (original)
+++ lldb/trunk/include/lldb/Core/Stream.h Tue Jan 31 11:18:40 2012
@@ -383,13 +383,12 @@
AddressRange(uint64_t lo_addr, uint64_t hi_addr, int addr_size, const char *prefix = NULL, const char *suffix = NULL);
//------------------------------------------------------------------
- /// Output a C string to the stream with optional format.
+ /// Output a C string to the stream.
///
- /// Print a C string \a cstr to the stream using the printf format
- /// in \a format.
+ /// Print a C string \a cstr to the stream.
///
- /// @param[in] format
- /// The printf style format to use when outputting the C string.
+ /// @param[in] cstr
+ /// The string to be output to the stream.
//------------------------------------------------------------------
int
PutCString (const char *cstr);
Modified: lldb/trunk/source/Core/Stream.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Stream.cpp?rev=149390&r1=149389&r2=149390&view=diff
==============================================================================
--- lldb/trunk/source/Core/Stream.cpp (original)
+++ lldb/trunk/source/Core/Stream.cpp Tue Jan 31 11:18:40 2012
@@ -122,8 +122,7 @@
}
//------------------------------------------------------------------
-// Print a raw NULL terminated C string to the stream using the
-// printf format in "format".
+// Print a raw NULL terminated C string to the stream.
//------------------------------------------------------------------
int
Stream::PutCString (const char *cstr)
More information about the lldb-commits
mailing list