clang-tools 20.0.0git
Classes | Namespaces | Functions
CodeComplete.h File Reference
#include "ASTSignals.h"
#include "Compiler.h"
#include "Protocol.h"
#include "Quality.h"
#include "index/Index.h"
#include "index/Symbol.h"
#include "index/SymbolOrigin.h"
#include "support/Markup.h"
#include "support/Path.h"
#include "clang/Sema/CodeCompleteConsumer.h"
#include "clang/Sema/CodeCompleteOptions.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include <functional>
#include <future>
#include <optional>
#include <utility>

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

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 

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, Position Pos, const PreambleData *Preamble, const ParseInputs &ParseInput, CodeCompleteOptions Opts, SpeculativeFuzzyFind *SpecFuzzyFind=nullptr)
 Gets code completions at a specified Pos in FileName.
 
SignatureHelp clang::clangd::signatureHelp (PathRef FileName, Position Pos, const PreambleData &Preamble, const ParseInputs &ParseInput, MarkupKind DocumentationFormat)
 Get signature help at a specified Pos in FileName.
 
bool clang::clangd::isIndexedForCodeCompletion (const NamedDecl &ND, ASTContext &ASTCtx)
 
CompletionPrefix clang::clangd::guessCompletionPrefix (llvm::StringRef Content, unsigned Offset)
 
bool clang::clangd::allowImplicitCompletion (llvm::StringRef Content, unsigned Offset)