[all-commits] [llvm/llvm-project] e04482: [Lex] Stop allocating/deallocating MacroInfo on a ...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Oct 26 07:24:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0448245671342ad4f0431aeabef8d575cfd80f5
      https://github.com/llvm/llvm-project/commit/e0448245671342ad4f0431aeabef8d575cfd80f5
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M clang/include/clang/Lex/MacroInfo.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/Preprocessor.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list