diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-05-29 21:59:09 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-05-29 21:59:09 +0000 |
commit | 96ccbf68a60ef294d575b919dffdb0b6acd23eb6 (patch) | |
tree | 12014da887ddbaddee1e78c4b43cc23a2f9afedc /contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp | |
parent | baa749209e41ebc9d6370e99d5a2b1d7a4ebdf73 (diff) |
Notes
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp b/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp index 803e418e2413..4ec3ba1695a8 100644 --- a/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp +++ b/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp @@ -560,7 +560,8 @@ CompilerInstance::createOutputFile(StringRef OutputPath, TempPath += "-%%%%%%%%"; int fd; if (llvm::sys::fs::unique_file(TempPath.str(), fd, TempPath, - /*makeAbsolute=*/false) == llvm::errc::success) { + /*makeAbsolute=*/false, 0664) + == llvm::errc::success) { OS.reset(new llvm::raw_fd_ostream(fd, /*shouldClose=*/true)); OSFile = TempFile = TempPath.str(); } |