ΒΆvoid system_temp_directory(
bool erasedOnReboot,
SmallVectorImpl<char>& result)
void system_temp_directory(
bool erasedOnReboot,
SmallVectorImpl<char>& result)
Description
Get the typical temporary directory for the system, e.g., "/var/tmp" or "C:/TEMP"
Declared at: llvm/include/llvm/Support/Path.h:372
Parameters
- bool erasedOnReboot
- Whether to favor a path that is erased on reboot rather than one that potentially persists longer. This parameter will be ignored if the user or system has set the typical environment variable (e.g., TEMP on Windows, TMPDIR on *nix) to specify a temporary directory.
- SmallVectorImpl<char>& result
- Holds the resulting path name.