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

Declarations

include/llvm/Support/FileSystem.h
 1114 std::error_code openFileForRead(const Twine &Name, int &ResultFD,

References

lib/Support/Path.cpp
  966   if (std::error_code EC = openFileForRead(From, ReadFD, OF_None))
  985   if (std::error_code EC = openFileForRead(From, ReadFD, OF_None))
 1017   if (auto EC = openFileForRead(Path, FD, OF_None))
lib/Support/Unix/Path.inc
  992   std::error_code EC = openFileForRead(Name, ResultFD, Flags, RealPath);
tools/lld/Common/Filesystem.cpp
   55   std::error_code ec = sys::fs::openFileForRead(path, fd);
unittests/Support/MemoryBufferTest.cpp
  241     EXPECT_FALSE(sys::fs::openFileForRead(TestPath.c_str(), TestFD));
unittests/Support/Path.cpp
 1111     EC = fs::openFileForRead(Twine(TempPath), FD);
 1269   ASSERT_NO_ERROR(fs::openFileForRead(Twine(TempPath), FileDescriptor2,
 1487   ASSERT_NO_ERROR(fs::openFileForRead(NonExistantFile, FD));
unittests/Support/ProgramTest.cpp
  318   ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd));
unittests/Support/ReplaceFileTest.cpp
   63   auto EC = fs::openFileForRead(File, FD);
   89     ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD));
  148     ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, TargetFD));
unittests/Support/raw_pwrite_stream_test.cpp
   62     ASSERT_NO_ERROR(sys::fs::openFileForRead(Path, FD));