Comments edited to better reflect what the function really does

llvm-svn: 149390
This commit is contained in:
Enrico Granata 2012-01-31 17:18:40 +00:00
parent d96cac1282
commit 7b59f755f4
2 changed files with 5 additions and 7 deletions

View File

@ -383,13 +383,12 @@ public:
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);

View File

@ -122,8 +122,7 @@ Stream::PutULEB128 (uint64_t uval)
}
//------------------------------------------------------------------
// 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)