Searched refs:buffer_opt (Results 1 – 1 of 1) sorted by relevance
57 auto buffer_opt = llvm::MemoryBuffer::getOpenFile(fd, file_path, -1, false, false); in addDirectoryToVFS() local58 if (!buffer_opt) { in addDirectoryToVFS()62 if (!vfs->addFile(file_path, ent->fts_statp->st_mtime, std::move(buffer_opt.get()))) { in addDirectoryToVFS()84 auto buffer_opt = llvm::MemoryBuffer::getFile(header_path); in createCommonVFS() local85 if (!buffer_opt) { in createCommonVFS()88 vfs->addFile("android/versioning.h", 0, std::move(buffer_opt.get())); in createCommonVFS()