summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorAlex Brachet <alexbrachetmialot@gmail.com>2019-06-28 03:21:00 +0000
committerAlex Brachet <alexbrachetmialot@gmail.com>2019-06-28 03:21:00 +0000
commit3b715d67ddea3599623090212f9a0880cf164806 (patch)
treeeae1a57a9bd366d59ad7ab96f427931d1d281d19 /llvm/lib/Support/Path.cpp
parent588a17097038d5e0e4053116306aca80f766d853 (diff)
downloadbcm5719-llvm-3b715d67ddea3599623090212f9a0880cf164806.tar.gz
bcm5719-llvm-3b715d67ddea3599623090212f9a0880cf164806.zip
[Support] Add fs::getUmask() function and change fs::setPermissions
Summary: This patch changes fs::setPermissions to optionally set permissions while respecting the umask. It also adds the function fs::getUmask() which returns the current umask. Reviewers: jhenderson, rupprecht, aprantl, lhames Reviewed By: jhenderson, rupprecht Subscribers: sanaanajjar231288, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63583 llvm-svn: 364621
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud