clang-tools 20.0.0git
Classes | Namespaces | Macros | Functions
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 >
 

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)   IO.enumCase(Value, #name, SymbolKind::name)
 

Functions

void clang::clangd::writeYAML (const IndexFileOut &, llvm::raw_ostream &)
 
llvm::Expected< IndexFileIn > clang::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)    IO.enumCase(Value, #name, SymbolKind::name)