[PATCH] D143969: [NFC][IR] Make Module::getNamedMDList() private

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 17:50:46 PST 2023


vporpo created this revision.
vporpo added a reviewer: aeubanks.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vporpo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds several missing NamedMDList modifier functions, like
removeNamedMDNode(), eraseNamedMDNode() and insertNamedMDNode().
There is no longer need to access the list directly so it also makes
getNamedMDList() private.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143969

Files:
  llvm/include/llvm/IR/Module.h
  llvm/lib/IR/DebugInfo.cpp
  llvm/lib/IR/Module.cpp
  llvm/unittests/IR/ModuleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143969.497164.patch
Type: text/x-patch
Size: 4237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230214/4abaa594/attachment.bin>


More information about the llvm-commits mailing list