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

llvm-svn: 14070
This commit is contained in:
Chris Lattner 2004-06-08 17:44:21 +00:00
parent 23c2f67fda
commit 4409487746
6 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,7 @@
namespace llvm {
class Type;
struct Type;
class DerivedType;
class AbstractTypeUser {

View File

@ -20,7 +20,7 @@
namespace llvm {
class AssemblyAnnotationWriter;
struct AssemblyAnnotationWriter;
template<typename SC> struct ilist_traits;
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,

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;

View File

@ -38,7 +38,7 @@
namespace llvm {
class Value;
class BasicBlock;
struct BasicBlock;
class Function;
class Module;
class AnalysisUsage;

View File

@ -24,11 +24,10 @@
namespace llvm {
class Type;
class Constant;
class Argument;
class Instruction;
class BasicBlock;
struct BasicBlock;
class GlobalValue;
class Function;
class GlobalVariable;

View File

@ -18,7 +18,7 @@
namespace llvm {
class BasicBlock;
struct BasicBlock;
//===----------------------------------------------------------------------===//
// PHINode Class