[PATCH] D125187: [llvm] Fix comment nits in Module class, NFC.
Xiaodong Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 8 07:27:10 PDT 2022
XiaodongLoong created this revision.
XiaodongLoong added reviewers: efriedma, pcc.
Herald added a project: All.
XiaodongLoong requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
There is no member called "GlobalValRefMap" in Module class.
It has been changed to "GlobalList".
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125187
Files:
llvm/include/llvm/IR/Module.h
Index: llvm/include/llvm/IR/Module.h
===================================================================
--- llvm/include/llvm/IR/Module.h
+++ llvm/include/llvm/IR/Module.h
@@ -58,9 +58,9 @@
/// other modules) this module depends on, a symbol table, and various data
/// about the target's characteristics.
///
-/// A module maintains a GlobalValRefMap object that is used to hold all
+/// A module maintains a GlobalList object that is used to hold all
/// constant references to global variables in the module. When a global
-/// variable is destroyed, it should have no entries in the GlobalValueRefMap.
+/// variable is destroyed, it should have no entries in the GlobalList.
/// The main container class for the LLVM Intermediate Representation.
class LLVM_EXTERNAL_VISIBILITY Module {
/// @name Types And Enumerations
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125187.427935.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220508/0815ddb6/attachment.bin>
More information about the llvm-commits
mailing list