[all-commits] [llvm/llvm-project] 8f8313: [llvm][AsmPrinter][NFC] Cleanup `GCMetadataPrinter...

zero9178 via All-commits all-commits at lists.llvm.org
Thu Dec 29 11:47:58 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f8313d53379075af1a2169ee4b45bf67a0a3306
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2022-12-29 (Thu, 29 Dec 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

  Log Message:
  [llvm][AsmPrinter][NFC] Cleanup `GCMetadataPrinters` field

The field is currently `void*`, which was originlly chosen in 2010 to not need to include `DenseMap`. Since then, `DenseMap` has been included in the header file anyways, so there is no more need to for the indirection via `void*` and the cruft around it can be removed.

Differential Revision: https://reviews.llvm.org/D140758

More information about the All-commits mailing list