LLVM  16.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 481 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 486 of file VirtualFileSystem.h.

◆ NamedNodeOrError() [2/3]

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

Definition at line 489 of file VirtualFileSystem.h.

◆ NamedNodeOrError() [3/3]

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

Definition at line 490 of file VirtualFileSystem.h.

Member Function Documentation

◆ getError()

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

Definition at line 495 of file VirtualFileSystem.h.

◆ getName()

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

Definition at line 492 of file VirtualFileSystem.h.

◆ operator bool()

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

Definition at line 493 of file VirtualFileSystem.h.

◆ operator std::error_code()

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

Definition at line 494 of file VirtualFileSystem.h.

◆ operator*()

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

Definition at line 496 of file VirtualFileSystem.h.


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