diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-14 23:21:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-14 23:21:47 +0000 |
commit | d26d6b68dd5ad6cea00331182d70432e4bac3393 (patch) | |
tree | 58d823ef59c45600f65b0c4f3b95da57740707c7 /lib/Support/PathV2.cpp | |
parent | 0b69247b10ddbce5f0c476c3471918ffc6091ac5 (diff) |
Update the comment for system_temp_directory() to indicate when it
will ignore the erasedOnReboot option, and properly escape the
backslash in "C:\TEMP". Thanks to Aaron and Francois.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PathV2.cpp')
-rw-r--r-- | lib/Support/PathV2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index 4d969fe25f..b7dfe4f9a5 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -510,7 +510,7 @@ void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) { const char *DefaultResult; #ifdef LLVM_ON_WIN32 (void)erasedOnReboot; - DefaultResult = "C:\TEMP"; + DefaultResult = "C:\\TEMP"; #else if (erasedOnReboot) DefaultResult = "/tmp"; |