mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 08:29:39 +00:00
ATTRIBUTES for a member whose type is typedef'd in a template are wrong
I found that in ICG I have access to the canonical type of a variable which in most cases is the type I should process. Doing this eliminates the need for some of the code that resolved typedefs because the canonical type has already done that. refs #200
This commit is contained in:
@ -36,8 +36,6 @@ FieldDescription::FieldDescription(
|
||||
is_enum(0) ,
|
||||
is_record(0) ,
|
||||
is_static(0) ,
|
||||
has_type(0) ,
|
||||
has_dims(0) ,
|
||||
num_dims(0) ,
|
||||
array_sizes() {} ;
|
||||
|
||||
@ -378,22 +376,6 @@ bool FieldDescription::isStatic() {
|
||||
return is_static ;
|
||||
}
|
||||
|
||||
void FieldDescription::setHasType( bool yes_no ) {
|
||||
has_type = yes_no ;
|
||||
}
|
||||
|
||||
bool FieldDescription::hasType() {
|
||||
return has_type ;
|
||||
}
|
||||
|
||||
void FieldDescription::setHasDims( bool yes_no ) {
|
||||
has_dims = yes_no ;
|
||||
}
|
||||
|
||||
bool FieldDescription::hasDims() {
|
||||
return has_dims ;
|
||||
}
|
||||
|
||||
unsigned int FieldDescription::getNumDims() {
|
||||
return num_dims ;
|
||||
}
|
||||
@ -446,7 +428,6 @@ std::ostream & operator << (std::ostream & os , FieldDescription & fdes ) {
|
||||
os << " is_enum = " << fdes.is_enum << std::endl ;
|
||||
os << " is_record = " << fdes.is_record << std::endl ;
|
||||
os << " is_static = " << fdes.is_static << std::endl ;
|
||||
os << " has_type = " << fdes.has_type << std::endl ;
|
||||
|
||||
return os ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user