[Lex] Stop allocating/deallocating MacroInfo on a linked list. NFC
authorSam McCall <sam.mccall@gmail.com>
Wed, 26 Oct 2022 01:03:08 +0000 (03:03 +0200)
committerSam McCall <sam.mccall@gmail.com>
Wed, 26 Oct 2022 14:24:25 +0000 (16:24 +0200)
commite0448245671342ad4f0431aeabef8d575cfd80f5
tree1b21db3bbc202bef1186fdb56d1644bff79774ce
parent7bc7f2da763ba7694bbdda3178d5638348a1bc11
[Lex] Stop allocating/deallocating MacroInfo on a linked list. NFC

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.

Differential Revision: https://reviews.llvm.org/D136725
clang/include/clang/Lex/MacroInfo.h
clang/include/clang/Lex/Preprocessor.h
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/Preprocessor.cpp