Skip to content

Commit d6c438b

Browse files
committed
Fix remainign comments, explicitly state 16 bytes
1 parent 49933b2 commit d6c438b

File tree

1 file changed

+6
-6
lines changed
  • lldb/include/lldb/Utility

1 file changed

+6
-6
lines changed

lldb/include/lldb/Utility/UUID.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@
1919

2020
namespace lldb_private {
2121

22-
class Stream;
22+
class Stream;
2323

24+
/// Represents UUID's of various sizes. In all cases, a uuid of all zeros is
25+
/// treated as an "Invalid UUID" marker, and the UUID created from such data
26+
/// will return false for IsValid.
2427
class UUID {
25-
// Represents UUID's of various sizes. In all cases, a uuid of all zeros is
26-
// treated as an "Invalid UUID" marker, and the UUID created from such data
27-
// will return false for IsValid.
2828
public:
2929
UUID() = default;
3030

3131
/// Create a uuid from the data pointed to by the bytes argument.
3232
UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes) {
3333
if (llvm::all_of(m_bytes, [](uint8_t b) { return b == 0; })) {
3434
Clear();
35-
}
35+
}
3636
}
3737

3838
// Reference:
@@ -88,7 +88,7 @@ class UUID {
8888
DecodeUUIDBytesFromString(llvm::StringRef str,
8989
llvm::SmallVectorImpl<uint8_t> &uuid_bytes);
9090

91-
/// Create a random UUID.
91+
/// Create a random 16 byte UUID.
9292
static llvm::Expected<UUID> Generate();
9393

9494
private:

0 commit comments

Comments
 (0)