[llvm] 7ff7001 - [llvm] Fix comment nits in Module class, NFC.
Xiaodong Liu via llvm-commits
llvm-commits at lists.llvm.org
Sat May 14 02:44:53 PDT 2022
Author: Xiaodong Liu
Date: 2022-05-14T17:41:37+08:00
New Revision: 7ff7001ba9495ba8a74a4bfeb594f7f61e9656c7
URL: https://github.com/llvm/llvm-project/commit/7ff7001ba9495ba8a74a4bfeb594f7f61e9656c7
DIFF: https://github.com/llvm/llvm-project/commit/7ff7001ba9495ba8a74a4bfeb594f7f61e9656c7.diff
LOG: [llvm] Fix comment nits in Module class, NFC.
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
Added:
Modified:
llvm/include/llvm/IR/Module.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Module.h b/llvm/include/llvm/IR/Module.h
index ddf81611ebc2..fc2d60947118 100644
--- a/llvm/include/llvm/IR/Module.h
+++ b/llvm/include/llvm/IR/Module.h
@@ -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
More information about the llvm-commits
mailing list