Use class instead of struct for defining classes. This unbreaks the

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
This commit is contained in:
Alkis Evlogimenos 2004-09-28 01:59:17 +00:00
parent e19d7a7021
commit 148d2065e4
3 changed files with 6 additions and 3 deletions

View 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

View 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

View 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)