diff --git a/llvm/include/llvm/Support/FileSystem.h b/llvm/include/llvm/Support/FileSystem.h --- a/llvm/include/llvm/Support/FileSystem.h +++ b/llvm/include/llvm/Support/FileSystem.h @@ -1013,9 +1013,8 @@ MutableArrayRef 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.