Home
last modified time | relevance | path

Searched refs:FileLocker (Results 1 – 3 of 3) sorted by relevance

/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DFileSystem.h1226 class FileLocker {
1228 FileLocker(int FD) : FD(FD) {} in FileLocker() function
1232 FileLocker(const FileLocker &L) = delete;
1233 FileLocker(FileLocker &&L) : FD(L.FD) { L.FD = -1; } in FileLocker() function
1234 ~FileLocker() { in ~FileLocker()
1238 FileLocker &operator=(FileLocker &&L) {
1243 FileLocker &operator=(const FileLocker &L) = delete;
H A Draw_ostream.h44 class FileLocker; variable
578 [[nodiscard]] Expected<sys::fs::FileLocker> lock();
587 [[nodiscard]] Expected<sys::fs::FileLocker>
/openbsd/gnu/llvm/llvm/lib/Support/
H A Draw_ostream.cpp877 Expected<sys::fs::FileLocker> raw_fd_ostream::lock() { in lock()
880 return sys::fs::FileLocker(FD); in lock()
884 Expected<sys::fs::FileLocker>
888 return sys::fs::FileLocker(FD); in tryLockFor()