diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-26 17:28:04 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-26 17:28:04 +0000 |
commit | 97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335 (patch) | |
tree | 72ad56f6a78d29c8ca25a5d53fa684953a1dd68d /lib/Support/Unix | |
parent | e26fa2dd73c035726331246e1c397617f9634f12 (diff) | |
download | external_llvm-97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335.zip external_llvm-97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335.tar.gz external_llvm-97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335.tar.bz2 |
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.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index 29a89b0..91efcd8 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) { |