This is an archive of the discontinued LLVM Phabricator instance.

[Demangle] Pass Ret parameter from decodeNumber by reference
ClosedPublic

Authored by ljmf00 on Jan 11 2022, 12:18 PM.

Details

Summary

Since Ret parameter is never meant to be nullptr, let's pass it by reference instead of a raw pointer.

Diff Detail

Event Timeline

ljmf00 created this revision.Jan 11 2022, 12:18 PM
ljmf00 requested review of this revision.Jan 11 2022, 12:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2022, 12:18 PM
dblaikie accepted this revision.Jan 11 2022, 5:59 PM

Great, thanks!

This revision is now accepted and ready to land.Jan 11 2022, 5:59 PM
ljmf00 updated this revision to Diff 399184.Jan 11 2022, 7:29 PM
This revision was landed with ongoing or failed builds.Jan 12 2022, 2:02 PM
This revision was automatically updated to reflect the committed changes.