[PATCH] D140758: [llvm][AsmPrinter][NFC] Cleanup `GCMetadataPrinters` field

Markus Böck via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 29 04:36:19 PST 2022


zero9178 created this revision.
zero9178 added reviewers: MaskRay, dblaikie.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
zero9178 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140758

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140758.485608.patch
Type: text/x-patch
Size: 4072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221229/62877ec2/attachment.bin>


More information about the llvm-commits mailing list