Otherwise every client dealing with name location should handle
anonymous names in a special manner.
This seems too error-prone, clients can probably handle anonymous
entities they care about differently.
Differential D69511
[clangd] Do not report anonymous entities in findExplicitReferences ilya-biryukov on Oct 28 2019, 6:31 AM. Authored by
Details Otherwise every client dealing with name location should handle This seems too error-prone, clients can probably handle anonymous
Diff Detail
Event TimelineComment Actions Stumbled upon it when trying to move semantic highlight to use findExplicitReferences. We should be better off without anonymous names here in the long run.
Comment Actions Build result: pass - 59699 tests passed, 0 failed and 763 were skipped.
|
i believe this will break D68937, which relies on findExplicitReferences to even rename unnamed parameters.