This is an archive of the discontinued LLVM Phabricator instance.

[LLD] Simplify the demangleItanium function. NFC.
ClosedPublic

Authored by mstorsjo on Sep 25 2019, 3:48 AM.

Details

Summary

Instead of returning an optional, just return the input string if demangling fails, as that's what all callers use anyway.

Diff Detail

Event Timeline

mstorsjo created this revision.Sep 25 2019, 3:48 AM
MaskRay accepted this revision.Sep 25 2019, 4:25 AM
This revision is now accepted and ready to land.Sep 25 2019, 4:25 AM
This revision was automatically updated to reflect the committed changes.