summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2012-01-31 17:18:40 +0000
committerEnrico Granata <granata.enrico@gmail.com>2012-01-31 17:18:40 +0000
commit7b59f755f46c1728492d3e84e6290640d41672e9 (patch)
tree2567da29235f58272f0d6b4f2611df94dadf029f
parentd96cac12825c79f6909bd5c4a750250314570f74 (diff)
downloadbcm5719-llvm-7b59f755f46c1728492d3e84e6290640d41672e9.tar.gz
bcm5719-llvm-7b59f755f46c1728492d3e84e6290640d41672e9.zip
Comments edited to better reflect what the function really does
llvm-svn: 149390
-rw-r--r--lldb/include/lldb/Core/Stream.h9
-rw-r--r--lldb/source/Core/Stream.cpp3
2 files changed, 5 insertions, 7 deletions
diff --git a/lldb/include/lldb/Core/Stream.h b/lldb/include/lldb/Core/Stream.h
index 22d400215d1..5496580ec2b 100644
--- a/lldb/include/lldb/Core/Stream.h
+++ b/lldb/include/lldb/Core/Stream.h
@@ -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);
diff --git a/lldb/source/Core/Stream.cpp b/lldb/source/Core/Stream.cpp
index 47b794b49bc..ca9e59bbc3b 100644
--- a/lldb/source/Core/Stream.cpp
+++ b/lldb/source/Core/Stream.cpp
@@ -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)
OpenPOWER on IntegriCloud