]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - source/Core/UserID.cpp
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / source / Core / UserID.cpp
1 //===-- UserID.cpp ----------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "lldb/Core/UserID.h"
11 #include "lldb/Core/Stream.h"
12
13 #include <inttypes.h>
14
15 using namespace lldb;
16 using namespace lldb_private;
17
18 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
19   strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
20   return strm;
21 }