Changeset View
Changeset View
Standalone View
Standalone View
clangd/ClangdUnit.h
Show First 20 Lines • Show All 305 Lines • ▼ Show 20 Lines | SignatureHelp signatureHelp(PathRef FileName, | ||||
IntrusiveRefCntPtr<vfs::FileSystem> VFS, | IntrusiveRefCntPtr<vfs::FileSystem> VFS, | ||||
std::shared_ptr<PCHContainerOperations> PCHs, | std::shared_ptr<PCHContainerOperations> PCHs, | ||||
clangd::Logger &Logger); | clangd::Logger &Logger); | ||||
/// Get the beginning SourceLocation at a specified \p Pos. | /// Get the beginning SourceLocation at a specified \p Pos. | ||||
SourceLocation getBeginningOfIdentifier(ParsedAST &Unit, const Position &Pos, | SourceLocation getBeginningOfIdentifier(ParsedAST &Unit, const Position &Pos, | ||||
const FileEntry *FE); | const FileEntry *FE); | ||||
/// Get definition of symbol at a specified \p Pos. | /// Get definition of symbol at a specified \p Pos. | ||||
malaperle: remove? | |||||
std::vector<Location> findDefinitions(ParsedAST &AST, Position Pos, | std::vector<Location> findDefinitions(ParsedAST &AST, Position Pos, | ||||
clangd::Logger &Logger); | clangd::Logger &Logger); | ||||
std::vector<DocumentHighlight> | |||||
findDocumentHighlights(ParsedAST &AST, Position Pos, clangd::Logger &Logger); | |||||
Please clang-format the code on every submission! ilya-biryukov: Please `clang-format` the code on every submission! | |||||
/// For testing/debugging purposes. Note that this method deserializes all | /// For testing/debugging purposes. Note that this method deserializes all | ||||
/// unserialized Decls, so use with care. | /// unserialized Decls, so use with care. | ||||
void dumpAST(ParsedAST &AST, llvm::raw_ostream &OS); | void dumpAST(ParsedAST &AST, llvm::raw_ostream &OS); | ||||
} // namespace clangd | } // namespace clangd | ||||
} // namespace clang | } // namespace clang | ||||
#endif | #endif |
remove?