]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/llvm/tools/lldb/source/Core/UserID.cpp
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / llvm / tools / lldb / 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&
19 lldb_private::operator << (Stream& strm, const UserID& uid)
20 {
21     strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
22     return strm;
23 }