#include "clang/Sema/CodeCompleteConsumer.h"
Go to the source code of this file.
|
namespace | clang |
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
|
|
namespace | clang::clangd |
| FIXME: Skip testing on windows temporarily due to the different escaping code mode.
|
|
|
std::string | clang::clangd::getDocComment (const ASTContext &Ctx, const CodeCompletionResult &Result, bool CommentsFromHeaders) |
| Gets a minimally formatted documentation comment of Result , with comment markers stripped.
|
|
std::string | clang::clangd::getDeclComment (const ASTContext &Ctx, const NamedDecl &D) |
| Similar to getDocComment, but returns the comment for a NamedDecl.
|
|
void | clang::clangd::getSignature (const CodeCompletionString &CCS, std::string *Signature, std::string *Snippet, CodeCompletionResult::ResultKind ResultKind, CXCursorKind CursorKind, bool IncludeFunctionArguments=true, std::string *RequiredQualifiers=nullptr) |
| Formats the signature for an item, as a display string and snippet.
|
|
std::string | clang::clangd::formatDocumentation (const CodeCompletionString &CCS, llvm::StringRef DocComment) |
| Assembles formatted documentation for a completion result.
|
|
std::string | clang::clangd::getReturnType (const CodeCompletionString &CCS) |
| Gets detail to be used as the detail field in an LSP completion item.
|
|