Skip to content
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

Implement syntactic test scanning in clangd #1282

Open
ahoppen opened this issue May 13, 2024 · 0 comments
Open

Implement syntactic test scanning in clangd #1282

ahoppen opened this issue May 13, 2024 · 0 comments

Comments

@ahoppen
Copy link
Collaborator

ahoppen commented May 13, 2024

Test discovery in SourceKit-LSP now relies on being able to do syntactic test discovery if the semantic index is not up-to-date. For Swift files, this is done using a SwiftSyntax scanner. SKAgent has the fast scanner through libclang API. We need to have an equivalent function in clangd that returns the syntactically discovered tests in a file (or probably multiple files so we can send batch queries for workspace-wide syntactic test discovery).

rdar://126492635

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

No branches or pull requests

1 participant