LLDB mainline
lldb_protocol::mcp::ServerInfoHandle Class Reference

A handle that tracks the server info on disk and cleans up the disk record once it is no longer referenced. More...

#include <Server.h>

Public Member Functions

 ServerInfoHandle ()
 ServerInfoHandle (llvm::StringRef filename)
 ~ServerInfoHandle ()
 ServerInfoHandle (ServerInfoHandle &&other)
ServerInfoHandleoperator= (ServerInfoHandle &&other) noexcept
 ServerInfoHandle (const ServerInfoHandle &)=delete
 ServerIinfoHandle is not copyable.
ServerInfoHandleoperator= (const ServerInfoHandle &)=delete

Private Attributes

llvm::SmallString< 128 > m_filename

Detailed Description

A handle that tracks the server info on disk and cleans up the disk record once it is no longer referenced.

Definition at line 109 of file Server.h.

Constructor & Destructor Documentation

◆ ServerInfoHandle() [1/4]

ServerInfoHandle::ServerInfoHandle ( )

◆ ServerInfoHandle() [2/4]

lldb_protocol::mcp::ServerInfoHandle::ServerInfoHandle ( llvm::StringRef filename)
explicit

References ServerInfoHandle().

◆ ~ServerInfoHandle()

ServerInfoHandle::~ServerInfoHandle ( )

Definition at line 32 of file Server.cpp.

References m_filename.

◆ ServerInfoHandle() [3/4]

ServerInfoHandle::ServerInfoHandle ( ServerInfoHandle && other)

Definition at line 41 of file Server.cpp.

References m_filename, and ServerInfoHandle().

◆ ServerInfoHandle() [4/4]

lldb_protocol::mcp::ServerInfoHandle::ServerInfoHandle ( const ServerInfoHandle & )
delete

ServerIinfoHandle is not copyable.

References ServerInfoHandle().

Member Function Documentation

◆ operator=() [1/2]

ServerInfoHandle & lldb_protocol::mcp::ServerInfoHandle::operator= ( const ServerInfoHandle & )
delete

References ServerInfoHandle().

◆ operator=() [2/2]

ServerInfoHandle & ServerInfoHandle::operator= ( ServerInfoHandle && other)
noexcept

Definition at line 47 of file Server.cpp.

References m_filename, and ServerInfoHandle().

Member Data Documentation

◆ m_filename

llvm::SmallString<128> lldb_protocol::mcp::ServerInfoHandle::m_filename
private

Definition at line 125 of file Server.h.

Referenced by operator=(), ServerInfoHandle(), and ~ServerInfoHandle().


The documentation for this class was generated from the following files: