summaryrefslogtreecommitdiff
path: root/lib/Support/Unix
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-26 17:28:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-26 17:28:04 +0000
commit97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335 (patch)
tree72ad56f6a78d29c8ca25a5d53fa684953a1dd68d /lib/Support/Unix
parente26fa2dd73c035726331246e1c397617f9634f12 (diff)
downloadllvm-97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335.tar.gz
llvm-97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335.tar.bz2
llvm-97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335.tar.xz
Use enums instead of raw octal values.
Patch by 罗勇刚(Yonggang Luo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix')
-rw-r--r--lib/Support/Unix/PathV2.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc
index 29a89b03d0..91efcd8023 100644
--- a/lib/Support/Unix/PathV2.inc
+++ b/lib/Support/Unix/PathV2.inc
@@ -564,7 +564,6 @@ error_code setLastModificationAndAccessTime(int FD, TimeValue Time) {
return error_code::success();
}
-// Since this is most often used for temporary files, mode defaults to 0600.
error_code unique_file(const Twine &model, int &result_fd,
SmallVectorImpl<char> &result_path,
bool makeAbsolute, unsigned mode) {