aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 5c27d3b55f..a0f63fb852 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -43,7 +43,8 @@ template<> struct ilist_traits<GlobalVariable>
static iplist<GlobalVariable> &getList(Module *M);
};
-struct Module {
+class Module {
+public:
typedef iplist<GlobalVariable> GlobalListType;
typedef iplist<Function> FunctionListType;