summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/XRefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/XRefs.h')
-rw-r--r--clang-tools-extra/clangd/XRefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/XRefs.h b/clang-tools-extra/clangd/XRefs.h
index dc9e4f23f1a..bc8deb1e3df 100644
--- a/clang-tools-extra/clangd/XRefs.h
+++ b/clang-tools-extra/clangd/XRefs.h
@@ -49,6 +49,9 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &, const LocatedSymbol &);
std::vector<LocatedSymbol> locateSymbolAt(ParsedAST &AST, Position Pos,
const SymbolIndex *Index = nullptr);
+/// Get all document links
+std::vector<DocumentLink> getDocumentLinks(ParsedAST &AST);
+
/// Returns highlights for all usages of a symbol at \p Pos.
std::vector<DocumentHighlight> findDocumentHighlights(ParsedAST &AST,
Position Pos);
OpenPOWER on IntegriCloud