summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commite7e4a449ce662d0f14705dde748f3cb55655187e (patch)
tree4225823156eeb896d8aa65412f1a13aeb16fe443 /llvm/lib
parentd077bc6a20962c19af56bcd955e19f728b63aa26 (diff)
downloadbcm5719-llvm-e7e4a449ce662d0f14705dde748f3cb55655187e.tar.gz
bcm5719-llvm-e7e4a449ce662d0f14705dde748f3cb55655187e.zip
Use enums instead of raw octal values.
Patch by 罗勇刚(Yonggang Luo). llvm-svn: 184971
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Unix/PathV2.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc
index 29a89b03d07..91efcd80233 100644
--- a/llvm/lib/Support/Unix/PathV2.inc
+++ b/llvm/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) {
OpenPOWER on IntegriCloud