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

[DiagnosticBridge] NFC: Refactor addQueuedDiagnostic to use Bridged* types instead of pointers #80126

Merged

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Mar 19, 2025

Instead of pointer + size for strings, void * for source locks and multiple entries for highlights refactor the API to use BridgedStringRef, BridgedSourceLoc and BridgedCharSourceRange.

@xedin
Copy link
Contributor Author

xedin commented Mar 19, 2025

@swift-ci please test

Copy link
Member

@rintaro rintaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@xedin
Copy link
Contributor Author

xedin commented Mar 19, 2025

@swift-ci please test

@xedin xedin merged commit 561071b into swiftlang:main Mar 20, 2025
5 checks passed
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.

2 participants