llvm-project/lldb/source/Core/UserID.cpp

28 lines
644 B
C++
Raw Normal View History

//===-- UserID.cpp ----------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "lldb/Core/UserID.h"
#include "lldb/Core/Stream.h"
#include <inttypes.h>
using namespace lldb;
using namespace lldb_private;
UserID::~UserID ()
{
}
Stream&
lldb_private::operator << (Stream& strm, const UserID& uid)
{
strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
return strm;
}