This is an archive of the discontinued LLVM Phabricator instance.

NFC: Replace `const std::string&` with StringRef in TargetRegistry APIs.
ClosedPublic

Authored by ondrasej on Apr 5 2023, 1:12 AM.

Diff Detail

Event Timeline

ondrasej created this revision.Apr 5 2023, 1:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 1:12 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
ondrasej requested review of this revision.Apr 5 2023, 1:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 1:12 AM
ondrasej retitled this revision from Replace `const std::string&` with StringRef in Target APIs. to Replace `const std::string&` with StringRef in TargetRegistry APIs..

Gentle ping. If you can't do the review, please suggest another reviewer.

Thanks!

aaron.ballman accepted this revision.Apr 25 2023, 5:47 AM
aaron.ballman added a subscriber: aaron.ballman.

LGTM, though please add "NFC" to the commit message subject when you land the changes so it's clear there's no functional changes happening (hence, no need for tests).

This revision is now accepted and ready to land.Apr 25 2023, 5:47 AM
ondrasej retitled this revision from Replace `const std::string&` with StringRef in TargetRegistry APIs. to NFC: Replace `const std::string&` with StringRef in TargetRegistry APIs..May 13 2023, 3:41 AM

I forgot to ask -- do you need me to commit on your behalf? If so, what name and email address would you like me to use for patch attribution?

ondrasej updated this revision to Diff 524035.May 20 2023, 7:56 AM

Rebased to a more recent revision, and amended the commit description as requested.

ondrasej added a comment.EditedMay 20 2023, 8:01 AM

I forgot to ask -- do you need me to commit on your behalf? If so, what name and email address would you like me to use for patch attribution?

Please do, I don't have commit rights.

Thanks for the review!