diff options
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) |