Provided overload to TypeClass::builtinTypeInfo to return true.

Shouldn't almost all types have a builtin typeinfo? Maybe it'd be better to
have the default at true and only overload typedef and friends.
This commit is contained in:
Christian Kamm
2008-08-13 22:14:43 +02:00
parent 8efde8d38d
commit 575ae2ea33
2 changed files with 6 additions and 0 deletions

View File

@@ -640,6 +640,7 @@ struct TypeClass : Type
int checkBoolean();
TypeInfoDeclaration *getTypeInfoDeclaration();
int hasPointers();
int builtinTypeInfo();
type *toCtype();

View File

@@ -224,6 +224,11 @@ int TypeDArray::builtinTypeInfo()
return next->isTypeBasic() != NULL;
}
int TypeClass::builtinTypeInfo()
{
return 1;
}
/* ========================================================================= */
/***************************************