Skip to content

findAllReferences: Make definition info independent of search location#21748

Merged
1 commit merged into
masterfrom
findAllRefs_definition
Mar 1, 2018
Merged

findAllReferences: Make definition info independent of search location#21748
1 commit merged into
masterfrom
findAllRefs_definition

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 7, 2018

Fixes #21301

Previously the definition info depended on the search location -- which doesn't make sense as the search location is probably not the definition. As of this PR we will mostly only use the definition symbol when getting definition info; the only exception being that we still use the original search location to get the SemanticMeaning, and we may use the search location as a backup if symbol.declarations is empty.

@ghost ghost merged commit 0a72568 into master Mar 1, 2018
@ghost ghost deleted the findAllRefs_definition branch March 1, 2018 20:46
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant