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

Remove a couple std::string uses in diagnostics. #4421

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Oct 17, 2024

We can't completely remove std::string from diagnostics because it's probably better to provide a string than something like a StringLiteralValueId or NameId (because those may be opaque for someone trying to present the diagnostic). So this change is just playing whackamole on another couple things that could easily use the new format providers.

@github-actions github-actions bot requested a review from zygoloid October 17, 2024 16:47
@jonmeow jonmeow requested review from geoffromer and removed request for zygoloid October 17, 2024 16:48
@jonmeow
Copy link
Contributor Author

jonmeow commented Oct 17, 2024

(shifting reviewers to try to balance load)

@jonmeow jonmeow force-pushed the std-string-whackamole branch from 336110a to ba8833c Compare October 17, 2024 16:49
@geoffromer geoffromer added this pull request to the merge queue Oct 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 17, 2024
@jonmeow jonmeow added this pull request to the merge queue Oct 17, 2024
Merged via the queue into carbon-language:trunk with commit 2a36ff6 Oct 17, 2024
8 checks passed
@jonmeow jonmeow deleted the std-string-whackamole branch October 17, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants