This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Change return type of UnixSignals::GetSignalInfo
ClosedPublic

Authored by bulbazord on Aug 21 2023, 2:32 PM.

Details

Summary

There's no reason for GetSignalInfo to return the signal name. All users
of this method only use the return value to determine if the method
succeeded in filling in the output parameters, so let's explicitly make
it a bool instead of a pointer.

Diff Detail

Event Timeline

bulbazord created this revision.Aug 21 2023, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 2:32 PM
bulbazord requested review of this revision.Aug 21 2023, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 2:32 PM
This revision is now accepted and ready to land.Aug 21 2023, 4:56 PM