#include "ClangdUnit.h"
#include "Headers.h"
#include "Logger.h"
#include "Path.h"
#include "Protocol.h"
#include "index/Index.h"
#include "index/Symbol.h"
#include "index/SymbolOrigin.h"
#include "clang/Frontend/PrecompiledPreamble.h"
#include "clang/Sema/CodeCompleteConsumer.h"
#include "clang/Sema/CodeCompleteOptions.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include <future>
Go to the source code of this file.
|
raw_ostream & | clang::clangd::operator<< (raw_ostream &, const CodeCompletion &) |
|
raw_ostream & | clang::clangd::operator<< (raw_ostream &, const CodeCompleteResult &) |
|
CodeCompleteResult | clang::clangd::codeComplete (PathRef FileName, const tooling::CompileCommand &Command, const PreambleData *Preamble, StringRef Contents, Position Pos, IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS, CodeCompleteOptions Opts, SpeculativeFuzzyFind *SpecFuzzyFind=nullptr) |
| Gets code completions at a specified Pos in FileName . More...
|
|
SignatureHelp | clang::clangd::signatureHelp (PathRef FileName, const tooling::CompileCommand &Command, const PreambleData *Preamble, StringRef Contents, Position Pos, IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS, const SymbolIndex *Index) |
| Get signature help at a specified Pos in FileName . More...
|
|
bool | clang::clangd::isIndexedForCodeCompletion (const NamedDecl &ND, ASTContext &ASTCtx) |
|
CompletionPrefix | clang::clangd::guessCompletionPrefix (llvm::StringRef Content, unsigned Offset) |
|