This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Make cmd a reference in GenerateOptionUsage
ClosedPublic

Authored by DavidSpickett on May 9 2022, 4:14 AM.

Details

Summary

Nowhere in lldb do we call this with a null pointer.
If we did, the first line of the function would fault anyway.

Diff Detail

Event Timeline

DavidSpickett created this revision.May 9 2022, 4:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 4:14 AM
DavidSpickett requested review of this revision.May 9 2022, 4:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 4:14 AM
This revision is now accepted and ready to land.May 13 2022, 1:03 PM