This revision was automatically updated to reflect the committed changes.
Closed by commit rGae206db2d653: [SystemZ][z/OS] Create html report file with 
text flag (authored by fanbo-meng).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108998/new/

https://reviews.llvm.org/D108998

Files:
  clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp


Index: clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
===================================================================
--- clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
+++ clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
@@ -344,7 +344,7 @@
 
   if (std::error_code EC = llvm::sys::fs::openFileForReadWrite(
           ResultPath, FD, llvm::sys::fs::CD_CreateNew,
-          llvm::sys::fs::OF_None)) {
+          llvm::sys::fs::OF_Text)) {
     // Existence of the file corresponds to the situation where a different
     // Clang instance has emitted a bug report with the same issue hash.
     // This is an entirely normal situation that does not deserve a warning,


Index: clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
===================================================================
--- clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
+++ clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
@@ -344,7 +344,7 @@
 
   if (std::error_code EC = llvm::sys::fs::openFileForReadWrite(
           ResultPath, FD, llvm::sys::fs::CD_CreateNew,
-          llvm::sys::fs::OF_None)) {
+          llvm::sys::fs::OF_Text)) {
     // Existence of the file corresponds to the situation where a different
     // Clang instance has emitted a bug report with the same issue hash.
     // This is an entirely normal situation that does not deserve a warning,
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to