llvm/lldb/source/Utility/Diagnostics.cpp

//===-- Diagnostics.cpp ---------------------------------------------------===//
//
// 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 "lldb/Utility/Diagnostics.h"
#include "lldb/Utility/LLDBAssert.h"

#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>

usingnamespacelldb_private;
usingnamespacelldb;
usingnamespacellvm;

static constexpr size_t g_num_log_messages =;

void Diagnostics::Initialize() {}

void Diagnostics::Terminate() {}

bool Diagnostics::Enabled() {}

std::optional<Diagnostics> &Diagnostics::InstanceImpl() {}

Diagnostics &Diagnostics::Instance() {}

Diagnostics::Diagnostics() :{}

Diagnostics::~Diagnostics() {}

Diagnostics::CallbackID Diagnostics::AddCallback(Callback callback) {}

void Diagnostics::RemoveCallback(CallbackID id) {}

bool Diagnostics::Dump(raw_ostream &stream) {}

bool Diagnostics::Dump(raw_ostream &stream, const FileSpec &dir) {}

llvm::Expected<FileSpec> Diagnostics::CreateUniqueDirectory() {}

Error Diagnostics::Create(const FileSpec &dir) {}

llvm::Error Diagnostics::DumpDiangosticsLog(const FileSpec &dir) const {}

void Diagnostics::Report(llvm::StringRef message) {}