[PATCH] D47741: Rename openFileForRead/Write to openFileDescriptorForRead/Write

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 4 13:05:59 PDT 2018


zturner created this revision.
zturner added a reviewer: rnk.
Herald added subscribers: hiraditya, arichardson, ioeric, emaste.
Herald added a reviewer: espindola.

  The motivation here is that the file_t based functions should
  be preferred whenever possible and that should be "the one true
  way" going forward to do file I/O.  That isn't quite possible
  yet, so descriptor versions are still provided.  Subsequent
  patches will try to convert the descriptor versions of the
  functions over to the file_t based versions, improving Support
  along the way as needed.  Eventually the ultimate goal is to
  be able to remove the descriptor based functions.


https://reviews.llvm.org/D47741

Files:
  clang-tools-extra/clang-move/tool/ClangMoveMain.cpp
  clang/lib/Basic/VirtualFileSystem.cpp
  clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  lld/ELF/Filesystem.cpp
  lldb/source/Core/Debugger.cpp
  llvm/include/llvm/Support/FileSystem.h
  llvm/lib/Object/ArchiveWriter.cpp
  llvm/lib/Support/FileOutputBuffer.cpp
  llvm/lib/Support/MemoryBuffer.cpp
  llvm/lib/Support/Path.cpp
  llvm/lib/Support/TarWriter.cpp
  llvm/lib/Support/Unix/Path.inc
  llvm/lib/Support/Windows/Path.inc
  llvm/lib/Support/raw_ostream.cpp
  llvm/lib/XRay/InstrumentationMap.cpp
  llvm/lib/XRay/Trace.cpp
  llvm/tools/gold/gold-plugin.cpp
  llvm/tools/llvm-ar/llvm-ar.cpp
  llvm/tools/llvm-cov/TestingSupport.cpp
  llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
  llvm/unittests/Support/Host.cpp
  llvm/unittests/Support/LockFileManagerTest.cpp
  llvm/unittests/Support/MemoryBufferTest.cpp
  llvm/unittests/Support/Path.cpp
  llvm/unittests/Support/ProgramTest.cpp
  llvm/unittests/Support/ReplaceFileTest.cpp
  llvm/unittests/Support/raw_pwrite_stream_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47741.149840.patch
Type: text/x-patch
Size: 25510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180604/441d6583/attachment.bin>


More information about the llvm-commits mailing list