ΒΆstd::error_code createTemporaryFile(
    const llvm::Twine& Prefix,
    llvm::StringRef Suffix,
    SmallVectorImpl<char>& ResultPath,
    llvm::sys::fs::OpenFlags Flags = OF_None)

Description

Simpler version for clients that don't want an open file. An empty file will still be created.

Declared at: llvm/include/llvm/Support/FileSystem.h:902

Parameters

const llvm::Twine& Prefix
llvm::StringRef Suffix
SmallVectorImpl<char>& ResultPath
llvm::sys::fs::OpenFlags Flags = OF_None