llvm/lldb/tools/lldb-dap/FifoFiles.cpp

//===-- FifoFiles.cpp -------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "FifoFiles.h"

#if !defined(_WIN32)
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#endif

#include <chrono>
#include <fstream>
#include <future>
#include <optional>
#include <thread>

#include "llvm/Support/FileSystem.h"

#include "lldb/lldb-defines.h"

usingnamespacellvm;

namespace lldb_dap {

FifoFile::FifoFile(StringRef path) :{}

FifoFile::~FifoFile() {}

Expected<std::shared_ptr<FifoFile>> CreateFifoFile(StringRef path) {}

FifoFileIO::FifoFileIO(StringRef fifo_file, StringRef other_endpoint_name)
    :{}

Expected<json::Value> FifoFileIO::ReadJSON(std::chrono::milliseconds timeout) {}

Error FifoFileIO::SendJSON(const json::Value &json,
                           std::chrono::milliseconds timeout) {}

} // namespace lldb_dap