This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Timer::DumpCategoryTimes should take a reference instead of a pointer
ClosedPublic

Authored by bulbazord on Jun 24 2023, 12:33 PM.

Details

Summary

We are assuming that the pointer is always valid, might as well take a
reference instead.

Diff Detail

Event Timeline

bulbazord created this revision.Jun 24 2023, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2023, 12:33 PM
bulbazord requested review of this revision.Jun 24 2023, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2023, 12:33 PM
This revision is now accepted and ready to land.Jun 24 2023, 1:37 PM
mib accepted this revision.Jun 24 2023, 8:36 PM
fdeazeve accepted this revision.Jun 25 2023, 6:45 AM

Nice!