[all-commits] [llvm/llvm-project] fb717f: [NFC][IR] Make Module::getNamedMDList() private

vporpo via All-commits all-commits at lists.llvm.org
Tue Feb 14 11:42:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb717fe06dd0b52094be178ead0862efc2252797
      https://github.com/llvm/llvm-project/commit/fb717fe06dd0b52094be178ead0862efc2252797
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M llvm/include/llvm/IR/Module.h
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/unittests/IR/ModuleTest.cpp

  Log Message:
  -----------
  [NFC][IR] Make Module::getNamedMDList() private

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.

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




More information about the All-commits mailing list