LLVM 22.0.0git
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 520 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 525 of file VirtualFileSystem.h.

◆ NamedNodeOrError() [2/3]

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

Definition at line 528 of file VirtualFileSystem.h.

◆ NamedNodeOrError() [3/3]

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

Definition at line 529 of file VirtualFileSystem.h.

Member Function Documentation

◆ getError()

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

Definition at line 534 of file VirtualFileSystem.h.

◆ getName()

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

Definition at line 531 of file VirtualFileSystem.h.

◆ operator bool()

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

Definition at line 532 of file VirtualFileSystem.h.

◆ operator std::error_code()

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

Definition at line 533 of file VirtualFileSystem.h.

◆ operator*()

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

Definition at line 535 of file VirtualFileSystem.h.


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