[PATCH] D86901: Change comments of openFileForWrite
stephan.yichao.zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 31 17:26:39 PDT 2020
stephan.yichao.zhao created this revision.
stephan.yichao.zhao added reviewers: sepavloff, MaskRay.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
stephan.yichao.zhao requested review of this revision.
The file it opens is not in read-write mode.
Repository:
rG LLVM Github Monorepo
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 read-write 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.289051.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/be73ca1e/attachment.bin>
More information about the llvm-commits
mailing list