[PATCH] D47789: [FileSystem] Delete OpenFlags parameter from several file system functions

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 5 11:00:11 PDT 2018


zturner created this revision.
zturner added a reviewer: rnk.
Herald added a subscriber: hiraditya.

It defaults to specifying ReadWrite, and the only time in the entire codebase that any other value is used is when creating a temporary files, whereon Windows we additionally pass `F_Delete`.  We can hide this particular usage in the implementation file, and all other callers continue to work exactly the same since they were just using the default value anyway.


https://reviews.llvm.org/D47789

Files:
  llvm/include/llvm/Support/FileSystem.h
  llvm/lib/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47789.150006.patch
Type: text/x-patch
Size: 4945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180605/9b36016d/attachment.bin>


More information about the llvm-commits mailing list