This is an archive of the discontinued LLVM Phabricator instance.

Remove an unused Module param
ClosedPublic

Authored by lxfind on May 3 2020, 7:38 PM.

Details

Summary

In D65848 the function getFuncNameInModule was refactored to no longer use module.
This diff removes the parameter and rename the function name to avoid confusion.

Diff Detail

Event Timeline

lxfind created this revision.May 3 2020, 7:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2020, 7:38 PM
wenlei added a comment.May 3 2020, 9:58 PM

Thanks for cleanup. I think we could use getFuncName to be concise and still differentiate from getName which may return MD5.

lxfind updated this revision to Diff 261880.May 4 2020, 11:21 AM

Use simpler name

wenlei accepted this revision.May 4 2020, 12:29 PM

LGTM.

This revision is now accepted and ready to land.May 4 2020, 12:29 PM
This revision was automatically updated to reflect the committed changes.