clang-tools 22.0.0git
YAMLSerialization.cpp File Reference
#include "Headers.h"
#include "index/Ref.h"
#include "index/Relation.h"
#include "index/Serialization.h"
#include "index/Symbol.h"
#include "index/SymbolLocation.h"
#include "index/SymbolOrigin.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <optional>

Go to the source code of this file.

Classes

struct  llvm::yaml::NormalizedSymbolID
struct  llvm::yaml::NormalizedSymbolFlag
struct  llvm::yaml::MappingTraits< YPosition >
struct  llvm::yaml::NormalizedPosition
struct  llvm::yaml::NormalizedFileURI
struct  llvm::yaml::MappingTraits< SymbolLocation >
struct  llvm::yaml::MappingTraits< SymbolInfo >
struct  llvm::yaml::ScalarBitSetTraits< clang::clangd::Symbol::IncludeDirective >
struct  llvm::yaml::MappingTraits< YIncludeHeaderWithReferences >
struct  llvm::yaml::NormalizedIncludeHeaders
struct  llvm::yaml::MappingTraits< Symbol >
struct  llvm::yaml::ScalarEnumerationTraits< SymbolLanguage >
struct  llvm::yaml::ScalarEnumerationTraits< SymbolKind >
struct  llvm::yaml::MappingTraits< RefBundle >
struct  llvm::yaml::NormalizedRefKind
struct  llvm::yaml::MappingTraits< Ref >
struct  llvm::yaml::NormalizedSymbolRole
struct  llvm::yaml::MappingTraits< SymbolID >
struct  llvm::yaml::MappingTraits< Relation >
struct  llvm::yaml::NormalizedSourceFlag
struct  llvm::yaml::NormalizedFileDigest
struct  llvm::yaml::MappingTraits< IncludeGraphNode >
struct  llvm::yaml::MappingTraits< CompileCommandYAML >
struct  llvm::yaml::MappingTraits< VariantEntry >
struct  llvm::yaml::IncludeGraphNode
struct  llvm::yaml::Ref
 Represents a symbol occurrence in the source file. More...
struct  llvm::yaml::Relation
 Represents a relation between two symbols. More...
struct  llvm::yaml::Symbol
 The class presents a C++ symbol, e.g. More...
class  llvm::yaml::SymbolID
struct  llvm::yaml::SymbolLocation

Namespaces

namespace  llvm
 Some operations such as code completion produce a set of candidates.
namespace  llvm::yaml
namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.

Macros

#define DEFINE_ENUM(name)

Typedefs

using llvm::yaml::FileDigest
using llvm::yaml::IncludeGraph

Enumerations

enum class  llvm::yaml::RefKind
 Describes the kind of a cross-reference. More...
enum class  llvm::yaml::RelationKind

Functions

void clang::clangd::writeYAML (const IndexFileOut &, llvm::raw_ostream &)
llvm::Expected< IndexFileInclang::clangd::readYAML (llvm::StringRef, SymbolOrigin Origin)
std::string clang::clangd::toYAML (const Symbol &)
std::string clang::clangd::toYAML (const std::pair< SymbolID, llvm::ArrayRef< Ref > > &Data)
std::string clang::clangd::toYAML (const Relation &)
std::string clang::clangd::toYAML (const Ref &)

Macro Definition Documentation

◆ DEFINE_ENUM

#define DEFINE_ENUM ( name)
Value:
IO.enumCase(Value, #name, SymbolKind::name)

Referenced by llvm::yaml::ScalarEnumerationTraits< SymbolKind >::enumeration().