13 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_FINDSYMBOLS_H 14 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_FINDSYMBOLS_H 17 #include "llvm/ADT/StringRef.h" 33 llvm::Expected<std::vector<SymbolInformation>>
35 const SymbolIndex *
const Index, llvm::StringRef HintPath);
llvm::Expected< std::vector< SymbolInformation > > getWorkspaceSymbols(llvm::StringRef Query, int Limit, const SymbolIndex *const Index, llvm::StringRef HintPath)
Searches for the symbols matching Query.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
llvm::Expected< std::vector< DocumentSymbol > > getDocumentSymbols(ParsedAST &AST)
Retrieves the symbols contained in the "main file" section of an AST in the same order that they appe...
const SymbolIndex * Index