[Lldb-commits] [lldb] r338611 - Fixed documentation for PutHex8 [NFC]

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 1 11:38:20 PDT 2018


Author: teemperor
Date: Wed Aug  1 11:38:19 2018
New Revision: 338611

URL: http://llvm.org/viewvc/llvm-project?rev=338611&view=rev
Log:
Fixed documentation for PutHex8 [NFC]

The previous documentation was just copied from PrintfAsRawHex8
but doesn't actually fit to the PutHex8 method.

Modified:
    lldb/trunk/include/lldb/Utility/Stream.h

Modified: lldb/trunk/include/lldb/Utility/Stream.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Utility/Stream.h?rev=338611&r1=338610&r2=338611&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Utility/Stream.h (original)
+++ lldb/trunk/include/lldb/Utility/Stream.h Wed Aug  1 11:38:19 2018
@@ -121,14 +121,10 @@ public:
       __attribute__((__format__(__printf__, 2, 3)));
 
   //------------------------------------------------------------------
-  /// Format a C string from a printf style format and variable arguments and
-  /// encode and append the resulting C string as hex bytes.
+  /// Append an uint8_t value in the hexadecimal format to the stream.
   ///
-  /// @param[in] format
-  ///     A printf style format string.
-  ///
-  /// @param[in] ...
-  ///     Any additional arguments needed for the printf format string.
+  /// @param[in] uvalue
+  ///     The value to append.
   ///
   /// @return
   ///     The number of bytes that were appended to the stream.




More information about the lldb-commits mailing list