clang-tools 22.0.0git
clang::clangd::remote Namespace Reference

Classes

class  Marshaller
 A notable exception is URI translation. More...

Functions

std::unique_ptr< clangd::SymbolIndexgetClient (llvm::StringRef Address, llvm::StringRef IndexRoot)
 Returns an SymbolIndex client that passes requests to remote index located at Address.
int getFoo (bool Argument)

Variables

char Character

Function Documentation

◆ getClient()

std::unique_ptr< clangd::SymbolIndex > clang::clangd::remote::getClient ( llvm::StringRef Address,
llvm::StringRef IndexRoot )

Returns an SymbolIndex client that passes requests to remote index located at Address.

The client allows synchronous RPC calls. IndexRoot is an absolute path on the local machine to the source tree described by the remote index. Paths returned by the index will be treated as relative to this directory.

This method attempts to resolve the address and establish the connection.

Returns
nullptr if the address is not resolved during the function call or if the project was compiled without Remote Index support.

Definition at line 192 of file Client.cpp.

◆ getFoo()

int clang::clangd::remote::getFoo ( bool Argument)

Variable Documentation

◆ Character

char clang::clangd::remote::Character

Definition at line 5 of file Header.h.