[llvm] Fix comment nits in Module class, NFC.
authorXiaodong Liu <teaofmoli@gmail.com>
Sat, 14 May 2022 09:40:13 +0000 (17:40 +0800)
committerXiaodong Liu <liuxiaodong@loongson.cn>
Sat, 14 May 2022 09:41:37 +0000 (17:41 +0800)
There is no member called "GlobalValRefMap" in Module class.
It has been changed to "GlobalList".

Reviewed By: efriedma

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

llvm/include/llvm/IR/Module.h

index ddf8161..fc2d609 100644 (file)
@@ -58,9 +58,9 @@ class VersionTuple;
 /// 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