diff options
author | Frederic Riss <friss@apple.com> | 2015-08-06 21:04:55 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2015-08-06 21:04:55 +0000 |
commit | 6b9396c07054f0fbeec730d662ca76d111a2a46c (patch) | |
tree | 2551dfa167c60cb56d4746d6348807e97407caed /llvm/lib/Support/Windows/Path.inc | |
parent | fc573f33f639979ea4483954584d1ce18fb684bd (diff) | |
download | bcm5719-llvm-6b9396c07054f0fbeec730d662ca76d111a2a46c.tar.gz bcm5719-llvm-6b9396c07054f0fbeec730d662ca76d111a2a46c.zip |
Thread premissions through sys::fs::create_director{y|ies}
llvm-svn: 244268
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 72da7c5fec3..3033149980c 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -182,7 +182,8 @@ std::error_code current_path(SmallVectorImpl<char> &result) { return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result); } -std::error_code create_directory(const Twine &path, bool IgnoreExisting) { +std::error_code create_directory(const Twine &path, bool IgnoreExisting, + perms Perms) { SmallVector<wchar_t, 128> path_utf16; if (std::error_code ec = widenPath(path, path_utf16)) |