This patch is based on D72746 and prevents non-spelled references from
being renamed which would cause incorrect behavior otherwise.
Details
Details
- Reviewers
hokein - Commits
- rG10540e480dfb: [clangd] Filter out implicit references while renaming
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
looks like the code you submitted is the old version, not the one you addressed comments.
nit: I'd use if (!static_cast<int>(R.Kind & RefKind::Spelled)).