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
This commit is contained in:
Chris Lattner
2004-06-08 17:44:21 +00:00
parent ef39012738
commit 85b0195f0e
6 changed files with 7 additions and 7 deletions

View File

@@ -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;