[PATCH] D86901: Change comments of openFileForWrite

stephan.yichao.zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 17:33:04 PDT 2020


stephan.yichao.zhao updated this revision to Diff 289052.
stephan.yichao.zhao added a comment.

updated


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86901

Files:
  llvm/include/llvm/Support/FileSystem.h


Index: llvm/include/llvm/Support/FileSystem.h
===================================================================
--- llvm/include/llvm/Support/FileSystem.h
+++ llvm/include/llvm/Support/FileSystem.h
@@ -1013,9 +1013,8 @@
                                      MutableArrayRef<char> Buf,
                                      uint64_t Offset);
 
-/// @brief Opens the file with the given name in a write-only or read-write
-/// mode, returning its open file descriptor. If the file does not exist, it
-/// is created.
+/// @brief Opens the file with the given name in a write-only mode, returning
+/// its open file descriptor. If the file does not exist, it is created.
 ///
 /// The caller is responsible for closing the file descriptor once they are
 /// finished with it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86901.289052.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/fe5975c8/attachment.bin>


More information about the llvm-commits mailing list