-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Index] Don't index non-public imported declarations #25865
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
Conversation
@swift-ci Please test |
@swift-ci Please test source compatibility |
Oops, missed a test change. |
9698a47
to
18e892c
Compare
Apart from mildly speeding up indexing, this also keeps the compiler from running into issues with implementation-only imports that may not be present while we're trying to index. rdar://problem/52083709
18e892c
to
bf84429
Compare
{ | ||
key.kind: source.lang.swift.decl.extension.class, | ||
key.name: "C2", | ||
key.usr: "s:e:s:11test_module2C2C6SECRETyyF" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change does mean extensions might exist with USRs that refer to decls that aren't indexed. Is that a problem?
Build failed |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Apart from mildly speeding up indexing, this also keeps the compiler from running into issues with implementation-only imports that may not be present while we're trying to index. rdar://problem/52083709 (cherry picked from commit 02e1a11)
Apart from mildly speeding up indexing, this also keeps the compiler from running into issues with implementation-only imports that may not be present while we're trying to index.
rdar://problem/52083709