clang-tools 10.0.0

Classes | Namespaces | Functions
CodeComplete.h File Reference
`#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/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>`
Include dependency graph for CodeComplete.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | clang::clangd::CodeCompleteOptions
struct | clang::clangd::CodeCompleteOptions::IncludeInsertionIndicator
| A visual indicator to prepend to the completion label to indicate whether completion result would trigger an #include insertion or not. More...
struct | clang::clangd::CodeCompletion
struct | clang::clangd::CodeCompletion::IncludeCandidate
struct | clang::clangd::CodeCompletion::Scores
struct | clang::clangd::CodeCompleteResult
struct | clang::clangd::SpeculativeFuzzyFind
| A speculative and asynchronous fuzzy find index request (based on cached request) that can be sent before parsing sema. More...
struct | clang::clangd::CompletionPrefix

## Namespaces
| clang
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
| clang::clangd

## Functions
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)