Skip to content

llvm-tli-checker: Avoid a temporary string while printing #142538

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

Open
wants to merge 1 commit into
base: users/arsenm/llvm-tli-checker/print-custom-name
Choose a base branch
from

Conversation

arsenm
Copy link
Contributor

@arsenm arsenm commented Jun 3, 2025

Directly write to the output instead of building a string to
print.

Directly write to the output instead of building a string to
print.
Copy link
Contributor Author

arsenm commented Jun 3, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@arsenm arsenm added the llvm-tools All llvm tools that do not have corresponding tag label Jun 3, 2025 — with Graphite App
@arsenm arsenm marked this pull request as ready for review June 3, 2025 06:00
@pogo59
Copy link
Collaborator

pogo59 commented Jun 4, 2025

As a user-facing tool, this bit of optimization doesn't seem super critical, but it's reasonable practice. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants