llvm/llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp

//===-- LVElement.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
//
//===----------------------------------------------------------------------===//
//
// This implements the LVElement class.
//
//===----------------------------------------------------------------------===//

#include "llvm/DebugInfo/LogicalView/Core/LVElement.h"
#include "llvm/DebugInfo/LogicalView/Core/LVReader.h"
#include "llvm/DebugInfo/LogicalView/Core/LVScope.h"
#include "llvm/DebugInfo/LogicalView/Core/LVSymbol.h"
#include "llvm/DebugInfo/LogicalView/Core/LVType.h"

usingnamespacellvm;
usingnamespacellvm::codeview;
usingnamespacellvm::logicalview;

#define DEBUG_TYPE

LVElementDispatch LVElement::Dispatch =;

LVType *LVElement::getTypeAsType() const {}

LVScope *LVElement::getTypeAsScope() const {}

// Set the element type.
void LVElement::setGenericType(LVElement *Element) {}

// Discriminator as string.
std::string LVElement::discriminatorAsString() const {}

// Get the type as a string.
StringRef LVElement::typeAsString() const {}

// Get name for element type.
StringRef LVElement::getTypeName() const {}

static size_t getStringIndex(StringRef Name) {}

void LVElement::setName(StringRef ElementName) {}

void LVElement::setFilename(StringRef Filename) {}

void LVElement::setInnerComponent(StringRef Name) {}

// Return the string representation of a DIE offset.
std::string LVElement::typeOffsetAsString() const {}

StringRef LVElement::accessibilityString(uint32_t Access) const {}

std::optional<uint32_t> LVElement::getAccessibilityCode(MemberAccess Access) {}

StringRef LVElement::externalString() const {}

StringRef LVElement::inlineCodeString(uint32_t Code) const {}

StringRef LVElement::virtualityString(uint32_t Virtuality) const {}

std::optional<uint32_t> LVElement::getVirtualityCode(MethodKind Virtuality) {}

void LVElement::resolve() {}

// Set File/Line using the specification element.
void LVElement::setFileLine(LVElement *Specification) {}

void LVElement::resolveName() {}

// Resolve any parents.
void LVElement::resolveParents() {}

// Generate a name for unnamed elements.
void LVElement::generateName(std::string &Prefix) const {}

// Generate a name for unnamed elements.
void LVElement::generateName() {}

void LVElement::updateLevel(LVScope *Parent, bool Moved) {}

// Generate the full name for the element, to include special qualifiers.
void LVElement::resolveFullname(LVElement *BaseType, StringRef Name) {}

void LVElement::setFile(LVElement *Reference) {}

LVScope *LVElement::traverseParents(LVScopeGetFunction GetFunction) const {}

LVScope *LVElement::getFunctionParent() const {}

LVScope *LVElement::getCompileUnitParent() const {}

// Resolve the qualified name to include the parent hierarchy names.
void LVElement::resolveQualifiedName() {}

bool LVElement::referenceMatch(const LVElement *Element) const {}

bool LVElement::equals(const LVElement *Element) const {}

// Print the FileName Index.
void LVElement::printFileIndex(raw_ostream &OS, bool Full) const {}

void LVElement::printReference(raw_ostream &OS, bool Full,
                               LVElement *Parent) const {}

void LVElement::printLinkageName(raw_ostream &OS, bool Full,
                                 LVElement *Parent) const {}

void LVElement::printLinkageName(raw_ostream &OS, bool Full, LVElement *Parent,
                                 LVScope *Scope) const {}