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
namespace llvm {
-class Type;
+struct Type;
class DerivedType;
class AbstractTypeUser {
namespace llvm {
-class AssemblyAnnotationWriter;
+struct AssemblyAnnotationWriter;
template<typename SC> struct ilist_traits;
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
static iplist<GlobalVariable> &getList(Module *M);
};
-struct Module {
+class Module {
+public:
typedef iplist<GlobalVariable> GlobalListType;
typedef iplist<Function> FunctionListType;
namespace llvm {
class Value;
-class BasicBlock;
+struct BasicBlock;
class Function;
class Module;
class AnalysisUsage;
namespace llvm {
-class Type;
class Constant;
class Argument;
class Instruction;
-class BasicBlock;
+struct BasicBlock;
class GlobalValue;
class Function;
class GlobalVariable;
namespace llvm {
-class BasicBlock;
+struct BasicBlock;
//===----------------------------------------------------------------------===//
// PHINode Class