llvm/lldb/source/API/SBFileSpec.cpp

//===-- SBFileSpec.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/API/SBFileSpec.h"
#include "Utils.h"
#include "lldb/API/SBStream.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/PosixApi.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Instrumentation.h"
#include "lldb/Utility/Stream.h"

#include "llvm/ADT/SmallString.h"

#include <cinttypes>
#include <climits>

usingnamespacelldb;
usingnamespacelldb_private;

SBFileSpec::SBFileSpec() :{}

SBFileSpec::SBFileSpec(const SBFileSpec &rhs) {}

SBFileSpec::SBFileSpec(const lldb_private::FileSpec &fspec)
    :{}

// Deprecated!!!
SBFileSpec::SBFileSpec(const char *path) :{}

SBFileSpec::SBFileSpec(const char *path, bool resolve)
    :{}

SBFileSpec::~SBFileSpec() = default;

const SBFileSpec &SBFileSpec::operator=(const SBFileSpec &rhs) {}

bool SBFileSpec::operator==(const SBFileSpec &rhs) const {}

bool SBFileSpec::operator!=(const SBFileSpec &rhs) const {}

bool SBFileSpec::IsValid() const {}
operator bool()

bool SBFileSpec::Exists() const {}

bool SBFileSpec::ResolveExecutableLocation() {}

int SBFileSpec::ResolvePath(const char *src_path, char *dst_path,
                            size_t dst_len) {}

const char *SBFileSpec::GetFilename() const {}

const char *SBFileSpec::GetDirectory() const {}

void SBFileSpec::SetFilename(const char *filename) {}

void SBFileSpec::SetDirectory(const char *directory) {}

uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const {}

const lldb_private::FileSpec *SBFileSpec::operator->() const {}

const lldb_private::FileSpec *SBFileSpec::get() const {}

const lldb_private::FileSpec &SBFileSpec::operator*() const {}

const lldb_private::FileSpec &SBFileSpec::ref() const {}

void SBFileSpec::SetFileSpec(const lldb_private::FileSpec &fs) {}

bool SBFileSpec::GetDescription(SBStream &description) const {}

void SBFileSpec::AppendPathComponent(const char *fn) {}