Lines Matching defs:doc
119 if (std::optional<StringRef> doc = decl->getDocComment())
120 return doc->str();
542 if (std::optional<std::string> doc = getDocumentationFor(sourceMgr, decl))
543 hoverOS << "\n" << *doc << "\n";
609 if (std::optional<std::string> doc = getDocumentationFor(sourceMgr, decl))
610 hoverOS << "\n" << *doc << "\n";
842 if (std::optional<std::string> doc =
845 lsp::MarkupContent{lsp::MarkupKind::Markdown, std::move(*doc)};
1034 if (std::optional<std::string> doc =
1036 signatureInfo.documentation = std::move(*doc);