diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-08 17:44:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-08 17:44:21 +0000 |
commit | 85b0195f0e619d7151824a08f33e6754a451e7fc (patch) | |
tree | 6f314b2cca682ad158a8168b51e9c0cd83010b1f /include/llvm/Module.h | |
parent | ef39012738a36bd7dd0a51fd94810426978c9455 (diff) |
Apparently a particular vendor compiler uses the struct/class tag to MANGLE
symbols with. Therefore, if you do not use struct/class consistently, you can
get LINK ERRORS. grr.
This fixes the link errors for libsupport and vmcore.
-Chris
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 3 |
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; |