[PATCH] D76451: [clangd] Enable textual fallback for go-to-definition on dependent names
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 19 13:42:12 PDT 2020
nridge marked an inline comment as done.
nridge added inline comments.
================
Comment at: clang-tools-extra/clangd/XRefs.cpp:234
ParsedAST &AST, llvm::StringRef MainFilePath,
- const SymbolIndex *Index) {
+ const SymbolIndex *Index, bool *IsDependentName) {
const SourceManager &SM = AST.getSourceManager();
----------------
In the future, I can envision expanding this to return additional information, possibly the AST node itself. For now, I just started with a boolean.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76451/new/
https://reviews.llvm.org/D76451
More information about the cfe-commits
mailing list