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);
39 llvm::Expected<std::vector<SymbolInformation>>
llvm::Expected< std::vector< SymbolInformation > > getDocumentSymbols(ParsedAST &AST)
Retrieves the symbols contained in the "main file" section of an AST in the same order that they appe...
llvm::Expected< std::vector< SymbolInformation > > getWorkspaceSymbols(StringRef Query, int Limit, const SymbolIndex *const Index, StringRef HintPath)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//