aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r--include/llvm/Type.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index b72bcf9..30949a6 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -1,4 +1,4 @@
-//===-- llvm/Type.h - Classes for handling data types ------------*- C++ -*--=//
+//===-- llvm/Type.h - Classes for handling data types -----------*- C++ -*-===//
//
// This file contains the declaration of the Type class. For more "Type" type
// stuff, look in DerivedTypes.h.
@@ -37,8 +37,7 @@ class PointerType;
class StructType;
class OpaqueType;
-class Type : public Value {
-public:
+struct Type : public Value {
///===-------------------------------------------------------------------===//
/// 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)