Create a file for Path. Must be thread‐safe.
Synopsis
Declared in <llvm/Support/VirtualOutputBackend.h>
virtual
Expected<std::unique_ptr<OutputFileImpl>>
createFileImpl(
StringRef Path,
std::optional<OutputConfig> Config) = 0;
Return Value
Tagged union holding either a T or a Error.
Parameters
Name |
Description |
Path |
Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated. |
Config |
Class template for optional values. |
Preconditions
-
Configis valid or std::nullopt.
Created with MrDocs