clang-tools  11.0.0
Namespaces | Functions
Marshalling.cpp File Reference
#include "Marshalling.h"
#include "Headers.h"
#include "Index.pb.h"
#include "Protocol.h"
#include "index/Serialization.h"
#include "index/Symbol.h"
#include "index/SymbolID.h"
#include "index/SymbolLocation.h"
#include "index/SymbolOrigin.h"
#include "support/Logger.h"
#include "clang/Index/IndexSymbol.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/StringSaver.h"
Include dependency graph for Marshalling.cpp:

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)
 
Symbol clang::clangd::remote::toProtobuf (const clangd::Symbol &From, llvm::StringRef IndexRoot)
 
Ref clang::clangd::remote::toProtobuf (const clangd::Ref &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...