Home
last modified time | relevance | path

Searched refs:HoverInfo (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp29 using PassMode = HoverInfo::PassType::PassMode;
34 const std::function<void(HoverInfo &)> ExpectedBuilder; in TEST()
41 [](HoverInfo &HI) { in TEST()
58 [](HoverInfo &HI) { in TEST()
76 [](HoverInfo &HI) { in TEST()
97 [](HoverInfo &HI) { in TEST()
113 [](HoverInfo &HI) { in TEST()
128 [](HoverInfo &HI) { in TEST()
140 [](HoverInfo &HI) { in TEST()
152 [](HoverInfo &HI) { in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DHover.h24 struct HoverInfo { struct
99 inline bool operator==(const HoverInfo::PassType &LHS, argument
100 const HoverInfo::PassType &RHS) {
109 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const HoverInfo::Param &);
110 inline bool operator==(const HoverInfo::Param &LHS,
111 const HoverInfo::Param &RHS) {
117 llvm::Optional<HoverInfo> getHover(ParsedAST &AST, Position Pos,
DHover.cpp169 std::vector<HoverInfo::Param>
173 std::vector<HoverInfo::Param> TempParameters; in fetchTemplateParameters()
176 HoverInfo::Param P; in fetchTemplateParameters()
255 void enhanceFromIndex(HoverInfo &Hover, const NamedDecl &ND, in enhanceFromIndex()
292 HoverInfo::Param toHoverInfoParam(const ParmVarDecl *PVD, in toHoverInfoParam()
294 HoverInfo::Param Out; in toHoverInfoParam()
307 void fillFunctionTypeAndParams(HoverInfo &HI, const Decl *D, in fillFunctionTypeAndParams()
494 HoverInfo getHoverContents(const NamedDecl *D, const SymbolIndex *Index) { in getHoverContents()
495 HoverInfo HI; in getHoverContents()
554 HoverInfo getHoverContents(QualType T, ASTContext &ASTCtx, in getHoverContents()
[all …]
DClangdServer.h223 Callback<llvm::Optional<HoverInfo>> CB);
DClangdServer.cpp599 Callback<llvm::Optional<HoverInfo>> CB) { in findHover()
DClangdLSPServer.cpp1193 llvm::Expected<llvm::Optional<HoverInfo>> H) mutable { in onHover()