OSDN Git Service

Use class instead of struct for defining classes. This unbreaks the
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 28 Sep 2004 01:59:17 +0000 (01:59 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 28 Sep 2004 01:59:17 +0000 (01:59 +0000)
build on windows. Patch contributed by Paolo Invernizzi!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16531 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/IntrinsicLowering.h
include/llvm/Target/TargetJITInfo.h
include/llvm/Type.h

index ad4a9e5..b15d505 100644 (file)
@@ -39,7 +39,8 @@ namespace llvm {
   class CallInst;
   class Module;
   
-  struct IntrinsicLowering {
+  class IntrinsicLowering {
+  public:
     virtual ~IntrinsicLowering() {}
 
     /// AddPrototypes - This method, if called, causes all of the prototypes
index 90fea4e..02571ec 100644 (file)
@@ -24,7 +24,8 @@ namespace llvm {
 
   /// TargetJITInfo - Target specific information required by the Just-In-Time
   /// code generator.
-  struct TargetJITInfo {
+  class TargetJITInfo {
+  public:
     virtual ~TargetJITInfo() {}
     
     /// addPassesToJITCompile - Add passes to the specified pass manager to
index dbc7881..c2cae13 100644 (file)
@@ -50,7 +50,8 @@ class PointerType;
 class StructType;
 class PackedType;
 
-struct Type {
+class Type {
+public:
   ///===-------------------------------------------------------------------===//
   /// Definitions of all of the base types for the Type system.  Based on this
   /// value, you can cast to a "DerivedType" subclass (see DerivedTypes.h)