Home
last modified time | relevance | path

Searched refs:DocumentHighlight (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DProtocol.h1352 struct DocumentHighlight { struct
1359 friend bool operator<(const DocumentHighlight &LHS, argument
1360 const DocumentHighlight &RHS) {
1366 friend bool operator==(const DocumentHighlight &LHS, argument
1367 const DocumentHighlight &RHS) {
1371 llvm::json::Value toJSON(const DocumentHighlight &DH);
1372 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const DocumentHighlight &);
H A DXRefs.h77 std::vector<DocumentHighlight> findDocumentHighlights(ParsedAST &AST,
H A DClangdServer.h247 Callback<std::vector<DocumentHighlight>> CB);
H A DClangdLSPServer.h127 Callback<std::vector<DocumentHighlight>>);
H A DXRefs.cpp1204 DocumentHighlight toHighlight(const ReferenceFinder::Reference &Ref, in toHighlight()
1206 DocumentHighlight DH; in toHighlight()
1217 llvm::Optional<DocumentHighlight> toHighlight(SourceLocation Loc, in toHighlight()
1221 DocumentHighlight Result; in toHighlight()
1232 std::vector<DocumentHighlight> findDocumentHighlights(ParsedAST &AST, in findDocumentHighlights()
1241 std::vector<DocumentHighlight> Result; in findDocumentHighlights()
H A DProtocol.cpp1076 llvm::json::Value toJSON(const DocumentHighlight &DH) { in toJSON()
1147 const DocumentHighlight &V) { in operator <<()
H A DClangdServer.cpp727 PathRef File, Position Pos, Callback<std::vector<DocumentHighlight>> CB) { in findDocumentHighlights()
H A DClangdLSPServer.cpp1162 Callback<std::vector<DocumentHighlight>> Reply) { in onDocumentHighlight()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSyncAPI.cpp93 llvm::Expected<std::vector<DocumentHighlight>>
95 llvm::Optional<llvm::Expected<std::vector<DocumentHighlight>>> Result; in runFindDocumentHighlights()
H A DSyncAPI.h42 llvm::Expected<std::vector<DocumentHighlight>>
H A DXRefsTests.cpp57 Matcher<const std::vector<DocumentHighlight> &>
59 std::vector<DocumentHighlight> Expected; in highlightsFrom()