class NamedNodeOrError
Declaration
class NamedNodeOrError { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:481
Member Variables
- private ErrorOr<std::pair<llvm::SmallString<128>, const detail::InMemoryNode*>> Value
Method Overview
- public NamedNodeOrError(llvm::SmallString<128> Name, const detail::InMemoryNode * Node)
- public NamedNodeOrError(std::error_code EC)
- public NamedNodeOrError(llvm::errc EC)
- public std::error_code getError() const
- public llvm::StringRef getName() const
- public bool operator bool() const
- public std::error_code operator error_code() const
Methods
¶NamedNodeOrError(llvm::SmallString<128> Name,
const detail::InMemoryNode* Node)
NamedNodeOrError(llvm::SmallString<128> Name,
const detail::InMemoryNode* Node)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:486
Parameters
- llvm::SmallString<128> Name
- const detail::InMemoryNode* Node
¶NamedNodeOrError(std::error_code EC)
NamedNodeOrError(std::error_code EC)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:489
Parameters
¶NamedNodeOrError(llvm::errc EC)
NamedNodeOrError(llvm::errc EC)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:490
Parameters
- llvm::errc EC
¶std::error_code getError() const
std::error_code getError() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:495
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:492
¶bool operator bool() const
bool operator bool() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:493
¶std::error_code operator error_code() const
std::error_code operator error_code() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:494