-class FunctionType : public DerivedType {
-public:
+struct FunctionType : public DerivedType {
typedef std::vector<PATypeHandle> ParamTypes;
private:
PATypeHandle ResultType;
class CompositeType : public DerivedType {
protected:
inline CompositeType(PrimitiveID id) : DerivedType(id) { }
-
public:
// getTypeAtIndex - Given an index value into the type, return the type of the
: CompositeType(TID), ElementType(PATypeHandle(ElType, this)) {
}
public:
-
inline const Type *getElementType() const { return ElementType; }
virtual const Type *getContainedType(unsigned i) const {
// 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, unsigned NumEl);
public:
// 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);
public:
class OpaqueType : public DerivedType {
-private:
- OpaqueType(const OpaqueType &); // Do not implement
- const OpaqueType &operator=(const OpaqueType &); // Do not implement
+ OpaqueType(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
// Private ctor - Only can be created by a static member...
OpaqueType();
-
public:
// get - Static factory method for the OpaqueType class...