Skip to content

Swift indexing #6677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 9, 2017
Merged

Swift indexing #6677

merged 5 commits into from
Jan 9, 2017

Conversation

nathawes
Copy link
Contributor

@nathawes nathawes commented Jan 9, 2017

Update the swift indexer to output symbol roles and relations and add a swift-ide-test -print-indexer-symbols option for testing these.

Also:

  • walk the inherited types of NominalTypeDecls generic params and any type references in their constraints (not walked previously)
  • provide artificial names (e.g. 'getter:x') for pseudo accessor defs/refs (not just user-specified ones)

Nathan Hawes added 4 commits January 5, 2017 14:54
…in the where clause and generic param inheritance too.

Also rename ASTWalker::shouldWalkIntoFunctionGenericParams() to shouldWalkIntoGenericParams() since it's now used when walking NominalTypeDecl (not just AbstractFunctionDecl).
@nathawes nathawes requested a review from akyrtzi January 9, 2017 18:38
@nathawes
Copy link
Contributor Author

nathawes commented Jan 9, 2017

@swift-ci please smoke test

@nathawes
Copy link
Contributor Author

nathawes commented Jan 9, 2017

@swift-ci please smoke test

@nathawes nathawes merged commit 563bc04 into swiftlang:master Jan 9, 2017
@nathawes nathawes deleted the swift-indexing branch January 9, 2017 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant