clang-tools  14.0.0git
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, StringRef Version="null", WantDiagnostics WantDiags=WantDiagnostics::Auto, bool ForceRebuild=false)
 
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< RenameResult > clang::clangd::runRename (ClangdServer &Server, PathRef File, Position Pos, StringRef NewName, const clangd::RenameOptions &RenameOpts)
 
llvm::Expected< RenameResult > clang::clangd::runPrepareRename (ClangdServer &Server, PathRef File, Position Pos, llvm::Optional< std::string > NewName, const RenameOptions &RenameOpts)
 
llvm::Expected< tooling::Replacements > clang::clangd::runFormatFile (ClangdServer &Server, PathRef File, llvm::Optional< Range > Rng)
 
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< SelectionRange > > clang::clangd::runSemanticRanges (ClangdServer &Server, PathRef File, const std::vector< Position > &Pos)
 
llvm::Expected< llvm::Optional< clangd::Path > > clang::clangd::runSwitchHeaderSource (ClangdServer &Server, PathRef File)
 
llvm::Error clang::clangd::runCustomAction (ClangdServer &Server, PathRef File, llvm::function_ref< void(InputsAndAST)> Action)