Return Error::success() or use TempPath and OutputPath to create a TempFileOutputError, depending on EC.

Synopsis

Declared in <llvm/Support/VirtualOutputError.h>

Error
convertToTempFileOutputError(
    Twine const& TempPath,
    Twine const& OutputPath,
    std::error_code EC);

Return Value

Lightweight error class with error context and mandatory checking.

Parameters

Name

Description

TempPath

Twine ‐ A lightweight data structure for efficiently representing the concatenation of temporary values as strings.

OutputPath

Twine ‐ A lightweight data structure for efficiently representing the concatenation of temporary values as strings.

Created with MrDocs