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 | 148d2065e4eb60357014a39c8e0d66c908679ffd (patch) | |
tree | a26a25ba8a5cf9630c74cfc1c6d67818a7bfdf8d /include/llvm | |
parent | e19d7a702177205053d12305ac44853e8a30b6f4 (diff) | |
download | external_llvm-148d2065e4eb60357014a39c8e0d66c908679ffd.zip external_llvm-148d2065e4eb60357014a39c8e0d66c908679ffd.tar.gz external_llvm-148d2065e4eb60357014a39c8e0d66c908679ffd.tar.bz2 |
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
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/IntrinsicLowering.h | 3 | ||||
-rw-r--r-- | include/llvm/Target/TargetJITInfo.h | 3 | ||||
-rw-r--r-- | include/llvm/Type.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h index ad4a9e5..b15d505 100644 --- a/include/llvm/CodeGen/IntrinsicLowering.h +++ b/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/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h index 90fea4e..02571ec 100644 --- a/include/llvm/Target/TargetJITInfo.h +++ b/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/include/llvm/Type.h b/include/llvm/Type.h index dbc7881..c2cae13 100644 --- a/include/llvm/Type.h +++ b/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) |