-
Notifications
You must be signed in to change notification settings - Fork 76
Add API to get the language in which a symbol is defined and the symbol provider for a source file #177
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
b6a4594
to
9e1db56
Compare
9e1db56
to
a335a47
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
llvm::sys::TimePoint<> modTime, Optional | ||
<SymbolProviderKind> SymProviderKind) |
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.
Did clang-format do that? Please tell me it didn't 😅
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.
No, that was me messing up the formatting
return true | ||
} | ||
|
||
if result == nil { |
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.
Is this worth it? Would be a pretty weird state to be in, may as well just return the first.
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.
I don’t have strong opinions either way. indexstoredb_index_units_containing_file
also shouldn’t return many files so not sure if exiting early really makes a difference.
Fix a formatting issue from #177
This will be used by sourcekit-lsp’s cross-file rename.