mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-03 11:24:18 +00:00
remove the 'protected' workaround now that we don't care about gcc 2.95 anymore.
Reid already did this for FunctionType, this just cleans the rest up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -186,16 +186,7 @@ class StructType : public CompositeType {
|
|||||||
friend class TypeMap<StructValType, StructType>;
|
friend class TypeMap<StructValType, StructType>;
|
||||||
StructType(const StructType &); // Do not implement
|
StructType(const StructType &); // Do not implement
|
||||||
const StructType &operator=(const StructType &); // Do not implement
|
const StructType &operator=(const StructType &); // Do not implement
|
||||||
|
|
||||||
protected:
|
|
||||||
/// This should really be private, but it squelches a bogus warning
|
|
||||||
/// from GCC to make them protected: warning: `class StructType' only
|
|
||||||
/// defines private constructors and has no friends
|
|
||||||
///
|
|
||||||
/// Private ctor - Only can be created by a static member...
|
|
||||||
///
|
|
||||||
StructType(const std::vector<const Type*> &Types, bool isPacked);
|
StructType(const std::vector<const Type*> &Types, bool isPacked);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// StructType::get - This static method is the primary way to create a
|
/// StructType::get - This static method is the primary way to create a
|
||||||
/// StructType.
|
/// StructType.
|
||||||
@ -282,15 +273,7 @@ class ArrayType : public SequentialType {
|
|||||||
|
|
||||||
ArrayType(const ArrayType &); // Do not implement
|
ArrayType(const ArrayType &); // Do not implement
|
||||||
const ArrayType &operator=(const ArrayType &); // Do not implement
|
const ArrayType &operator=(const ArrayType &); // Do not implement
|
||||||
protected:
|
|
||||||
/// This should really be private, but it squelches a bogus warning
|
|
||||||
/// from GCC to make them protected: warning: `class ArrayType' only
|
|
||||||
/// defines private constructors and has no friends
|
|
||||||
///
|
|
||||||
/// Private ctor - Only can be created by a static member...
|
|
||||||
///
|
|
||||||
ArrayType(const Type *ElType, uint64_t NumEl);
|
ArrayType(const Type *ElType, uint64_t NumEl);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// ArrayType::get - This static method is the primary way to construct an
|
/// ArrayType::get - This static method is the primary way to construct an
|
||||||
/// ArrayType
|
/// ArrayType
|
||||||
@ -318,15 +301,7 @@ class PackedType : public SequentialType {
|
|||||||
|
|
||||||
PackedType(const PackedType &); // Do not implement
|
PackedType(const PackedType &); // Do not implement
|
||||||
const PackedType &operator=(const PackedType &); // Do not implement
|
const PackedType &operator=(const PackedType &); // Do not implement
|
||||||
protected:
|
|
||||||
/// This should really be private, but it squelches a bogus warning
|
|
||||||
/// from GCC to make them protected: warning: `class PackedType' only
|
|
||||||
/// defines private constructors and has no friends
|
|
||||||
///
|
|
||||||
/// Private ctor - Only can be created by a static member...
|
|
||||||
///
|
|
||||||
PackedType(const Type *ElType, unsigned NumEl);
|
PackedType(const Type *ElType, unsigned NumEl);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// PackedType::get - This static method is the primary way to construct an
|
/// PackedType::get - This static method is the primary way to construct an
|
||||||
/// PackedType
|
/// PackedType
|
||||||
@ -359,14 +334,7 @@ class PointerType : public SequentialType {
|
|||||||
friend class TypeMap<PointerValType, PointerType>;
|
friend class TypeMap<PointerValType, PointerType>;
|
||||||
PointerType(const PointerType &); // Do not implement
|
PointerType(const PointerType &); // Do not implement
|
||||||
const PointerType &operator=(const PointerType &); // Do not implement
|
const PointerType &operator=(const PointerType &); // Do not implement
|
||||||
protected:
|
|
||||||
// This should really be private, but it squelches a bogus warning
|
|
||||||
// from GCC to make them protected: warning: `class PointerType' only
|
|
||||||
// defines private constructors and has no friends
|
|
||||||
|
|
||||||
// Private ctor - Only can be created by a static member...
|
|
||||||
PointerType(const Type *ElType);
|
PointerType(const Type *ElType);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// PointerType::get - This is the only way to construct a new pointer type.
|
/// PointerType::get - This is the only way to construct a new pointer type.
|
||||||
static PointerType *get(const Type *ElementType);
|
static PointerType *get(const Type *ElementType);
|
||||||
@ -388,14 +356,7 @@ public:
|
|||||||
class OpaqueType : public DerivedType {
|
class OpaqueType : public DerivedType {
|
||||||
OpaqueType(const OpaqueType &); // DO NOT IMPLEMENT
|
OpaqueType(const OpaqueType &); // DO NOT IMPLEMENT
|
||||||
const OpaqueType &operator=(const OpaqueType &); // DO NOT IMPLEMENT
|
const OpaqueType &operator=(const OpaqueType &); // DO NOT IMPLEMENT
|
||||||
protected:
|
|
||||||
/// This should really be private, but it squelches a bogus warning
|
|
||||||
/// from GCC to make them protected: warning: `class OpaqueType' only
|
|
||||||
/// defines private constructors and has no friends
|
|
||||||
///
|
|
||||||
/// Private ctor - Only can be created by a static member...
|
|
||||||
OpaqueType();
|
OpaqueType();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// OpaqueType::get - Static factory method for the OpaqueType class...
|
/// OpaqueType::get - Static factory method for the OpaqueType class...
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user