LLVM 19.0.0git
Public Member Functions | List of all members
llvm::vfs::detail::NamedNodeOrError Class Reference

#include "llvm/Support/VirtualFileSystem.h"

Public Member Functions

 NamedNodeOrError (llvm::SmallString< 128 > Name, const detail::InMemoryNode *Node)
 
 NamedNodeOrError (std::error_code EC)
 
 NamedNodeOrError (llvm::errc EC)
 
StringRef getName () const
 
 operator bool () const
 
 operator std::error_code () const
 
std::error_code getError () const
 
const detail::InMemoryNodeoperator* () const
 

Detailed Description

Definition at line 500 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ NamedNodeOrError() [1/3]

llvm::vfs::detail::NamedNodeOrError::NamedNodeOrError ( llvm::SmallString< 128 >  Name,
const detail::InMemoryNode Node 
)
inline

Definition at line 505 of file VirtualFileSystem.h.

◆ NamedNodeOrError() [2/3]

llvm::vfs::detail::NamedNodeOrError::NamedNodeOrError ( std::error_code  EC)
inline

Definition at line 508 of file VirtualFileSystem.h.

◆ NamedNodeOrError() [3/3]

llvm::vfs::detail::NamedNodeOrError::NamedNodeOrError ( llvm::errc  EC)
inline

Definition at line 509 of file VirtualFileSystem.h.

Member Function Documentation

◆ getError()

std::error_code llvm::vfs::detail::NamedNodeOrError::getError ( ) const
inline

Definition at line 514 of file VirtualFileSystem.h.

◆ getName()

StringRef llvm::vfs::detail::NamedNodeOrError::getName ( ) const
inline

Definition at line 511 of file VirtualFileSystem.h.

◆ operator bool()

llvm::vfs::detail::NamedNodeOrError::operator bool ( ) const
inlineexplicit

Definition at line 512 of file VirtualFileSystem.h.

◆ operator std::error_code()

llvm::vfs::detail::NamedNodeOrError::operator std::error_code ( ) const
inline

Definition at line 513 of file VirtualFileSystem.h.

◆ operator*()

const detail::InMemoryNode * llvm::vfs::detail::NamedNodeOrError::operator* ( ) const
inline

Definition at line 515 of file VirtualFileSystem.h.


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