forked from OSchip/llvm-project
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:
parent
23c2f67fda
commit
4409487746
|
@ -39,7 +39,7 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class Type;
|
||||
struct Type;
|
||||
class DerivedType;
|
||||
|
||||
class AbstractTypeUser {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class AssemblyAnnotationWriter;
|
||||
struct AssemblyAnnotationWriter;
|
||||
|
||||
template<typename SC> struct ilist_traits;
|
||||
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
namespace llvm {
|
||||
|
||||
class Value;
|
||||
class BasicBlock;
|
||||
struct BasicBlock;
|
||||
class Function;
|
||||
class Module;
|
||||
class AnalysisUsage;
|
||||
|
|
|
@ -24,11 +24,10 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class Type;
|
||||
class Constant;
|
||||
class Argument;
|
||||
class Instruction;
|
||||
class BasicBlock;
|
||||
struct BasicBlock;
|
||||
class GlobalValue;
|
||||
class Function;
|
||||
class GlobalVariable;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class BasicBlock;
|
||||
struct BasicBlock;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PHINode Class
|
||||
|
|
Loading…
Reference in New Issue