File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lldb/include/lldb/Utility Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
20
20
namespace lldb_private {
21
21
22
- class Stream ;
22
+ class Stream ;
23
23
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.
24
27
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.
28
28
public:
29
29
UUID () = default ;
30
30
31
31
// / Create a uuid from the data pointed to by the bytes argument.
32
32
UUID (llvm::ArrayRef<uint8_t > bytes) : m_bytes(bytes) {
33
33
if (llvm::all_of (m_bytes, [](uint8_t b) { return b == 0 ; })) {
34
34
Clear ();
35
- }
35
+ }
36
36
}
37
37
38
38
// Reference:
@@ -88,7 +88,7 @@ class UUID {
88
88
DecodeUUIDBytesFromString (llvm::StringRef str,
89
89
llvm::SmallVectorImpl<uint8_t > &uuid_bytes);
90
90
91
- // / Create a random UUID.
91
+ // / Create a random 16 byte UUID.
92
92
static llvm::Expected<UUID> Generate ();
93
93
94
94
private:
You can’t perform that action at this time.
0 commit comments