Don't use std::map to store types.

This commit is contained in:
Roberto Raggi
2009-11-23 12:42:28 +01:00
parent d80f0f07f4
commit 5eecdb3be0
7 changed files with 107 additions and 120 deletions

View File

@@ -102,7 +102,7 @@ public:
/// Returns a Type object of type PointertoMemberType.
PointerToMemberType *pointerToMemberType(Name *memberName,
FullySpecifiedType elementType);
const FullySpecifiedType &elementType);
/// Returns a Type object of type PointerType.
PointerType *pointerType(const FullySpecifiedType &elementType);
@@ -111,7 +111,7 @@ public:
ReferenceType *referenceType(const FullySpecifiedType &elementType);
/// Retruns a Type object of type ArrayType.
ArrayType *arrayType(const FullySpecifiedType &elementType, size_t size = 0);
ArrayType *arrayType(const FullySpecifiedType &elementType, unsigned size = 0);
/// Returns a Type object of type NamedType.
NamedType *namedType(Name *name);