This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] TypeSystemClang::CreateStructForIdentifier should take a StringRef
ClosedPublic

Authored by bulbazord on Jun 26 2023, 1:18 PM.

Details

Summary

This doesn't really use fast comparison or string uniqueness. In fact,
all of the current callers pass an empty string for type_name. The only
reason I don't remove it is because it looks like it is used downstream
for swift.

Diff Detail

Event Timeline

bulbazord created this revision.Jun 26 2023, 1:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 1:18 PM
Herald added a subscriber: emaste. · View Herald Transcript
bulbazord requested review of this revision.Jun 26 2023, 1:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 1:18 PM
kastiglione accepted this revision.Jun 28 2023, 10:31 AM
This revision is now accepted and ready to land.Jun 28 2023, 10:31 AM