Changes in / [909aebf:2185df1]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ResolveTypeof.cc

    r909aebf r2185df1  
    9191                // clear qualifiers for base, combine with typeoftype quals in any case
    9292                if ( isBasetypeof ) {
    93                         // replace basetypeof(<enum>) by int
    94                         if ( dynamic_cast<EnumInstType*>(newType) ) {
    95                                 Type* newerType =
    96                                         new BasicType{ newType->get_qualifiers(), BasicType::SignedInt,
    97                                         newType->attributes };
    98                                 delete newType;
    99                                 newType = newerType;
    100                         }
    10193                        newType->get_qualifiers().val
    10294                                = ( newType->get_qualifiers().val & ~Type::Qualifiers::Mask ) | oldQuals;
Note: See TracChangeset for help on using the changeset viewer.