diff options
| author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-09-28 01:59:17 +0000 |
|---|---|---|
| committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-09-28 01:59:17 +0000 |
| commit | b1da2050a50bedd0032d7ff941859d190721301c (patch) | |
| tree | 57f3a78cdd3e7a8bae7c3134385c225f737dc68b /llvm | |
| parent | 6a4a0492f8a24ef474c34ac311abcedaeba924ba (diff) | |
| download | bcm5719-llvm-b1da2050a50bedd0032d7ff941859d190721301c.tar.gz bcm5719-llvm-b1da2050a50bedd0032d7ff941859d190721301c.zip | |
Use class instead of struct for defining classes. This unbreaks the
build on windows. Patch contributed by Paolo Invernizzi!
llvm-svn: 16531
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/IntrinsicLowering.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/Target/TargetJITInfo.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/Type.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/IntrinsicLowering.h b/llvm/include/llvm/CodeGen/IntrinsicLowering.h index ad4a9e57243..b15d505308a 100644 --- a/llvm/include/llvm/CodeGen/IntrinsicLowering.h +++ b/llvm/include/llvm/CodeGen/IntrinsicLowering.h @@ -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 diff --git a/llvm/include/llvm/Target/TargetJITInfo.h b/llvm/include/llvm/Target/TargetJITInfo.h index 90fea4e3c31..02571ece453 100644 --- a/llvm/include/llvm/Target/TargetJITInfo.h +++ b/llvm/include/llvm/Target/TargetJITInfo.h @@ -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 diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h index dbc7881eb1f..c2cae13454c 100644 --- a/llvm/include/llvm/Type.h +++ b/llvm/include/llvm/Type.h @@ -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) |

