]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Utility/UserID.cpp
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Utility / UserID.cpp
1 //===-- UserID.cpp ----------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #include "lldb/Utility/UserID.h"
10 #include "lldb/Utility/Stream.h"
11
12 #include <inttypes.h>
13
14 using namespace lldb;
15 using namespace lldb_private;
16
17 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
18   strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
19   return strm;
20 }