This is an archive of the discontinued LLVM Phabricator instance.

[Lex] Stop allocating/deallocating MacroInfo on a linked list. NFC
ClosedPublic

Authored by sammccall on Oct 25 2022, 6:03 PM.

Details

Summary

This list was originally used for to make sure MacroInfo's clever memory
management got called (1f1e4bdbf7815c), but that was
simplified in 73a29662b9bf640a and 1f1e4bdbf7815c, and there's nothing left.

Diff Detail

Event Timeline

sammccall created this revision.Oct 25 2022, 6:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 25 2022, 6:03 PM
sammccall requested review of this revision.Oct 25 2022, 6:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 25 2022, 6:03 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

(I'm sure this doesn't matter much, I just ran into it while trying to understand lifetimes of various macro description objects)

hokein accepted this revision.Oct 26 2022, 2:01 AM
This revision is now accepted and ready to land.Oct 26 2022, 2:01 AM