clang-tools  7.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 "clang/Frontend/PrecompiledPreamble.h"
#include "clang/Sema/CodeCompleteConsumer.h"
#include "clang/Sema/CodeCompleteOptions.h"
#include "clang/Tooling/CompilationDatabase.h"
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::Scores
 
struct  clang::clangd::CodeCompleteResult
 

Namespaces

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

Functions

raw_ostream & clang::clangd::operator<< (raw_ostream &OS, const CodeCompletion &C)
 
raw_ostream & clang::clangd::operator<< (raw_ostream &OS, const CodeCompleteResult &R)
 
CodeCompleteResult clang::clangd::codeComplete (PathRef FileName, const tooling::CompileCommand &Command, PrecompiledPreamble const *Preamble, const IncludeStructure &PreambleInclusions, StringRef Contents, Position Pos, IntrusiveRefCntPtr< vfs::FileSystem > VFS, std::shared_ptr< PCHContainerOperations > PCHs, CodeCompleteOptions Opts)
 Get code completions at a specified Pos in FileName. More...
 
SignatureHelp clang::clangd::signatureHelp (PathRef FileName, const tooling::CompileCommand &Command, PrecompiledPreamble const *Preamble, StringRef Contents, Position Pos, IntrusiveRefCntPtr< vfs::FileSystem > VFS, std::shared_ptr< PCHContainerOperations > PCHs)
 Get signature help at a specified Pos in FileName. More...
 
bool clang::clangd::isIndexedForCodeCompletion (const NamedDecl &ND, ASTContext &ASTCtx)