This is an archive of the discontinued LLVM Phabricator instance.

[libfuzzer] avoid unneccessary copy
ClosedPublic

Authored by yingcong-wu on Mar 9 2023, 5:45 PM.

Details

Summary

Avoid some unneccessary copy

Diff Detail

Event Timeline

yingcong-wu created this revision.Mar 9 2023, 5:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 5:45 PM
Herald added a subscriber: Enna1. · View Herald Transcript
yingcong-wu requested review of this revision.Mar 9 2023, 5:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 5:45 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
fmayer added a subscriber: fmayer.Mar 9 2023, 5:46 PM

Can those be const auto&?

Can those be const auto&?

Yes, that would be better, I will change to that.

add const to references

fmayer added a comment.Mar 9 2023, 6:23 PM

Could you please rebase to fix pre-merge check patch application?

Could you please rebase to fix pre-merge check patch application?

Sure.

resolve merge conflict

another try to resolve merge conflict

fmayer accepted this revision.Mar 9 2023, 8:02 PM
This revision is now accepted and ready to land.Mar 9 2023, 8:02 PM

Hi @fmayer, I don’t have commit access, can you land this patch for me? Thanks.

This revision was automatically updated to reflect the committed changes.