[NFC][IR] Make Module::getAliasList() private
authorVasileios Porpodas <vporpodas@google.com>
Mon, 6 Feb 2023 21:05:01 +0000 (13:05 -0800)
committerVasileios Porpodas <vporpodas@google.com>
Tue, 14 Feb 2023 02:45:12 +0000 (18:45 -0800)
commitb64f7d028bdcaf679130afeed9518c09663f6dc8
treef3017f0a7dc3eac50cd3c2c310472776b8227754
parent6ee2f770efb6b1b02438db025af0899ed5bf9313
[NFC][IR] Make Module::getAliasList() private

This patch adds several missing AliasList modifier functions, like
removeAlias(), eraseAlias() and insertAlias().
There is no longer need to access the list directly so it also makes
getAliaList() private.

Differential Revision: https://reviews.llvm.org/D143958
lldb/source/Expression/IRExecutionUnit.cpp
llvm/include/llvm/IR/Module.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/IR/Globals.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/unittests/IR/ModuleTest.cpp