reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/FileSystem.h
 1143 std::error_code closeFile(file_t &F);

References

lib/LTO/Caching.cpp
   50       sys::fs::closeFile(*FDOrErr);
lib/LTO/ThinLTOCodeGenerator.cpp
  363     sys::fs::closeFile(*FDOrErr);
lib/Object/ArchiveWriter.cpp
   99   if (auto EC = sys::fs::closeFile(FD))
lib/Support/MemoryBuffer.cpp
  254   sys::fs::closeFile(FD);
  515   sys::fs::closeFile(FD);
lib/Support/VirtualFileSystem.cpp
  226   std::error_code EC = sys::fs::closeFile(FD);
lib/XRay/InstrumentationMap.cpp
  183   sys::fs::closeFile(Fd);
lib/XRay/Profile.cpp
  276   sys::fs::closeFile(*FdOrErr);
lib/XRay/Trace.cpp
  401   sys::fs::closeFile(*FdOrErr);
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
   71       closeFile(*ft);
tools/llvm-xray/xray-fdr-dump.cpp
   51   sys::fs::closeFile(*FDOrErr);
unittests/Support/MemoryBufferTest.cpp
  113         make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); });
  123         make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); });
  173   auto ReadCloser = make_scope_exit([&] { sys::fs::closeFile(pipes[0]); });
  175     auto WriteCloser = make_scope_exit([&] { sys::fs::closeFile(pipes[1]); });
unittests/Support/Path.cpp
 1526     auto Close = make_scope_exit([&] { fs::closeFile(*FD); });
 1543   auto Close = make_scope_exit([&] { fs::closeFile(*FD); });