xref: /src/contrib/llvm-project/lldb/source/Utility/UserID.cpp (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1cfca06d7SDimitry Andric //===-- UserID.cpp --------------------------------------------------------===//
2f034231aSEd Maste //
35f29bb8aSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
45f29bb8aSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
55f29bb8aSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6f034231aSEd Maste //
7f034231aSEd Maste //===----------------------------------------------------------------------===//
8f034231aSEd Maste 
974a628f7SDimitry Andric #include "lldb/Utility/UserID.h"
1074a628f7SDimitry Andric #include "lldb/Utility/Stream.h"
11f034231aSEd Maste 
12344a3780SDimitry Andric #include <cinttypes>
13f034231aSEd Maste 
14f034231aSEd Maste using namespace lldb;
15f034231aSEd Maste using namespace lldb_private;
16f034231aSEd Maste 
operator <<(Stream & strm,const UserID & uid)1714f1b3e8SDimitry Andric Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
18f034231aSEd Maste   strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
19f034231aSEd Maste   return strm;
20f034231aSEd Maste }
21