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 ad4a9e57243a1021d917a6e2177b7f1e173c9b4e..b15d505308a8f9491a859649a5b414639059b22d 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 90fea4e3c31b086f8e8f382830872c3e9a17aba1..02571ece453846d37bac6fbfc6a11879fa6971f2 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 dbc7881eb1fd72c0bdec09c2f1543e02bb38fd3e..c2cae13454c2b90d1c6430d62438bd37f8e7499d 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)