diff options
Diffstat (limited to 'include/llvm/Support/PathV2.h')
-rw-r--r-- | include/llvm/Support/PathV2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Support/PathV2.h b/include/llvm/Support/PathV2.h index 8dfbd77840..6d38c95715 100644 --- a/include/llvm/Support/PathV2.h +++ b/include/llvm/Support/PathV2.h @@ -268,7 +268,10 @@ bool is_separator(char value); /// "/var/tmp" or "C:/TEMP" /// /// @param erasedOnReboot Whether to favor a path that is erased on reboot -/// rather than one that potentially persists longer. +/// 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. +/// /// @param Result Holds the resulting path name. void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result); |