This is an archive of the discontinued LLVM Phabricator instance.

NFC: Clean up the implementation of StringPool a bit, and remove dependence on some "implicitly MallocAllocator" based methods on StringMapEntry. This allows reducing the #includes in StringMapEntry.h.
ClosedPublic

Authored by lattner on Apr 12 2020, 10:44 AM.

Details

Summary

StringPool has many caveats and isn't used in the monorepo. I will
propose removing it as a patch separate from this refactoring patch.

Diff Detail

Event Timeline

lattner created this revision.Apr 12 2020, 10:44 AM
lattner updated this revision to Diff 256874.Apr 12 2020, 12:27 PM

Update uses of the removed APIs in LLVMCore.

lattner updated this revision to Diff 256879.Apr 12 2020, 2:05 PM

Update the StringSet/Map unit tests to stop using the removed APIs.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 12 2020, 5:05 PM
This revision was automatically updated to reflect the committed changes.