llvm/clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp

//===-- SymbolInfo.cpp - Symbol Info ----------------------------*- 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 "SymbolInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Support/raw_ostream.h"

MappingTraits;
ContextType;
SymbolInfo;
SymbolAndSignals;
SymbolKind;

LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
LLVM_YAML_IS_SEQUENCE_VECTOR(SymbolInfo::Context)

namespace llvm {
namespace yaml {
template <> struct MappingTraits<SymbolAndSignals> {};

template <> struct ScalarEnumerationTraits<ContextType> {};

template <> struct ScalarEnumerationTraits<SymbolKind> {};

template <> struct MappingTraits<SymbolInfo::Context> {};

} // namespace yaml
} // namespace llvm

namespace clang {
namespace find_all_symbols {

SymbolInfo::SymbolInfo(llvm::StringRef Name, SymbolKind Type,
                       llvm::StringRef FilePath,
                       const std::vector<Context> &Contexts)
    :{}

bool SymbolInfo::operator==(const SymbolInfo &Symbol) const {}

bool SymbolInfo::operator<(const SymbolInfo &Symbol) const {}

std::string SymbolInfo::getQualifiedName() const {}

SymbolInfo::Signals &SymbolInfo::Signals::operator+=(const Signals &RHS) {}

SymbolInfo::Signals SymbolInfo::Signals::operator+(const Signals &RHS) const {}

bool SymbolInfo::Signals::operator==(const Signals &RHS) const {}

bool SymbolAndSignals::operator==(const SymbolAndSignals& RHS) const {}

bool WriteSymbolInfosToStream(llvm::raw_ostream &OS,
                              const SymbolInfo::SignalMap &Symbols) {}

std::vector<SymbolAndSignals> ReadSymbolInfosFromYAML(llvm::StringRef Yaml) {}

} // namespace find_all_symbols
} // namespace clang