clang-tools  11.0.0
Namespaces | Functions
Marshalling.h File Reference
#include "Index.pb.h"
#include "index/Index.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/StringSaver.h"
Include dependency graph for Marshalling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

clangd::FuzzyFindRequest clang::clangd::remote::fromProtobuf (const FuzzyFindRequest *Request, llvm::StringRef IndexRoot)
 
llvm::Optional< clangd::Symbol > clang::clangd::remote::fromProtobuf (const Symbol &Message, llvm::UniqueStringSaver *Strings, llvm::StringRef IndexRoot)
 
llvm::Optional< clangd::Ref > clang::clangd::remote::fromProtobuf (const Ref &Message, llvm::UniqueStringSaver *Strings, llvm::StringRef IndexRoot)
 
LookupRequest clang::clangd::remote::toProtobuf (const clangd::LookupRequest &From)
 
FuzzyFindRequest clang::clangd::remote::toProtobuf (const clangd::FuzzyFindRequest &From, llvm::StringRef IndexRoot)
 
RefsRequest clang::clangd::remote::toProtobuf (const clangd::RefsRequest &From)
 
Ref clang::clangd::remote::toProtobuf (const clangd::Ref &From, llvm::StringRef IndexRoot)
 
Symbol clang::clangd::remote::toProtobuf (const clangd::Symbol &From, llvm::StringRef IndexRoot)
 
llvm::Optional< std::string > clang::clangd::remote::relativePathToURI (llvm::StringRef RelativePath, llvm::StringRef IndexRoot)
 Translates RelativePath into the absolute path and builds URI for the user machine. More...
 
llvm::Optional< std::string > clang::clangd::remote::uriToRelativePath (llvm::StringRef URI, llvm::StringRef IndexRoot)
 Translates a URI from the server's backing index to a relative path suitable to send over the wire to the client. More...