aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/FileSystem.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-28 01:05:47 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-28 01:05:47 +0000
commitae19c89e1da816adbd6c7ffc28f679dabec83573 (patch)
treedb07c844b7a81190797409695a808dd3a05936c8 /include/llvm/Support/FileSystem.h
parent57a7da8b23050f8c78ab7d3a0f44f214183897a0 (diff)
downloadexternal_llvm-ae19c89e1da816adbd6c7ffc28f679dabec83573.zip
external_llvm-ae19c89e1da816adbd6c7ffc28f679dabec83573.tar.gz
external_llvm-ae19c89e1da816adbd6c7ffc28f679dabec83573.tar.bz2
Don't ask for a mode when we are not keeping the file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FileSystem.h')
-rw-r--r--include/llvm/Support/FileSystem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index c29d142..3244517 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -573,8 +573,7 @@ error_code unique_file(const Twine &model, int &result_fd,
/// @brief Simpler version for clients that don't want an open file.
error_code unique_file(const Twine &Model, SmallVectorImpl<char> &ResultPath,
- bool MakeAbsolute = true,
- unsigned Mode = owner_read | owner_write);
+ bool MakeAbsolute = true);
error_code createUniqueDirectory(const Twine &Prefix,
SmallVectorImpl<char> &ResultPath);