clang-tools 19.0.0git
Classes | Namespaces | Enumerations | Functions
Serialization.h File Reference
#include "Headers.h"
#include "index/Index.h"
#include "index/Symbol.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "llvm/Support/Error.h"
#include <optional>

Go to the source code of this file.

Classes

struct  clang::clangd::IndexFileIn
 
struct  clang::clangd::IndexFileOut
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 

Enumerations

enum class  clang::clangd::IndexFileFormat { clang::clangd::RIFF , clang::clangd::YAML }
 

Functions

llvm::Expected< IndexFileIn > clang::clangd::readIndexFile (llvm::StringRef Data, SymbolOrigin Origin)
 
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const IndexFileOut &O)
 
std::string clang::clangd::toYAML (const Symbol &)
 
std::string clang::clangd::toYAML (const std::pair< SymbolID, ArrayRef< Ref > > &)
 
std::string clang::clangd::toYAML (const Relation &)
 
std::string clang::clangd::toYAML (const Ref &)
 
std::unique_ptr< SymbolIndex > clang::clangd::loadIndex (llvm::StringRef SymbolFilename, SymbolOrigin Origin, bool UseDex)