#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 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) { … }
}
}