clang-tools  10.0.0svn
Namespaces | Functions
SyncAPI.h File Reference
#include "ClangdServer.h"
#include "index/Index.h"
Include dependency graph for SyncAPI.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
 

Functions

void clang::clangd::runAddDocument (ClangdServer &Server, PathRef File, StringRef Contents, WantDiagnostics WantDiags=WantDiagnostics::Auto)
 
llvm::Expected< CodeCompleteResult > clang::clangd::runCodeComplete (ClangdServer &Server, PathRef File, Position Pos, clangd::CodeCompleteOptions Opts)
 
llvm::Expected< SignatureHelp > clang::clangd::runSignatureHelp (ClangdServer &Server, PathRef File, Position Pos)
 
llvm::Expected< std::vector< LocatedSymbol > > clang::clangd::runLocateSymbolAt (ClangdServer &Server, PathRef File, Position Pos)
 
llvm::Expected< std::vector< DocumentHighlight > > clang::clangd::runFindDocumentHighlights (ClangdServer &Server, PathRef File, Position Pos)
 
llvm::Expected< std::vector< TextEdit > > clang::clangd::runRename (ClangdServer &Server, PathRef File, Position Pos, StringRef NewName)
 
std::string clang::clangd::runDumpAST (ClangdServer &Server, PathRef File)
 
llvm::Expected< std::vector< SymbolInformation > > clang::clangd::runWorkspaceSymbols (ClangdServer &Server, StringRef Query, int Limit)
 
llvm::Expected< std::vector< DocumentSymbol > > clang::clangd::runDocumentSymbols (ClangdServer &Server, PathRef File)
 
SymbolSlab clang::clangd::runFuzzyFind (const SymbolIndex &Index, StringRef Query)
 
SymbolSlab clang::clangd::runFuzzyFind (const SymbolIndex &Index, const FuzzyFindRequest &Req)
 
RefSlab clang::clangd::getRefs (const SymbolIndex &Index, SymbolID ID)
 
llvm::Expected< std::vector< Range > > clang::clangd::runSemanticRanges (ClangdServer &Server, PathRef File, Position Pos)
 
llvm::Expected< llvm::Optional< clangd::Path > > clang::clangd::runSwitchHeaderSource (ClangdServer &Server, PathRef File)