ΒΆstd::error_code status_known(
const llvm::Twine& path,
bool& result)
std::error_code status_known(
const llvm::Twine& path,
bool& result)
Description
Is status available?
Declared at: llvm/include/llvm/Support/FileSystem.h:732
Parameters
- const llvm::Twine& path
- Input path.
- bool& result
- Set to true if status() != status_error.
Returns
errc::success if result has been successfully set, otherwise a platform-specific error_code.