diff options
Diffstat (limited to 'include/lldb/Utility/DataBufferHeap.h')
-rw-r--r-- | include/lldb/Utility/DataBufferHeap.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/lldb/Utility/DataBufferHeap.h b/include/lldb/Utility/DataBufferHeap.h index d64e5b7563a9..5a1e98803f0a 100644 --- a/include/lldb/Utility/DataBufferHeap.h +++ b/include/lldb/Utility/DataBufferHeap.h @@ -11,10 +11,10 @@ #define liblldb_DataBufferHeap_h_ #include "lldb/Utility/DataBuffer.h" -#include "lldb/lldb-types.h" // for offset_t -#include "llvm/ADT/StringRef.h" // for StringRef +#include "lldb/lldb-types.h" +#include "llvm/ADT/StringRef.h" -#include <cstdint> // for uint8_t, uint64_t +#include <cstdint> #include <vector> namespace lldb_private { @@ -90,7 +90,8 @@ public: /// Set the number of bytes in the data buffer. /// /// Sets the number of bytes that this object should be able to contain. - /// This can be used prior to copying data into the buffer. + /// This can be used prior to copying data into the buffer. Note that this + /// zero-initializes up to \p byte_size bytes. /// /// @param[in] byte_size /// The new size in bytes that this data buffer should attempt |