[PATCH] D99200: [SystemZ][z/OS] JSON file should be text files
Abhina Sree via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 24 10:28:23 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0bf833f670bd: [SystemZ][z/OS] JSON file should be text files (authored by abhina.sreeskantharajan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99200/new/
https://reviews.llvm.org/D99200
Files:
clang/lib/Driver/ToolChains/Clang.cpp
Index: clang/lib/Driver/ToolChains/Clang.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Clang.cpp
+++ clang/lib/Driver/ToolChains/Clang.cpp
@@ -2336,7 +2336,8 @@
Twine(llvm::sys::path::filename(Input.getFilename())) + ".%%%%.json");
int FD;
SmallString<256> TempPath;
- Err = llvm::sys::fs::createUniqueFile(Path, FD, TempPath);
+ Err = llvm::sys::fs::createUniqueFile(Path, FD, TempPath,
+ llvm::sys::fs::OF_Text);
if (Err) {
Driver.Diag(diag::err_drv_compilationdatabase) << Path << Err.message();
return;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99200.333038.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210324/07d3eb94/attachment.bin>
More information about the cfe-commits
mailing list