Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CommonType.cc

    rc333ed2 rb2ea0cd  
    3939
    4040        // GENERATED START, DO NOT EDIT
    41         // GENERATED BY BasicTypes-gen.cc
     41        // GENERATED BY BasicTypes-gen.cpp
    4242        #define BT ast::BasicKind::
    4343        static const ast::BasicKind commonTypes[BT NUMBER_OF_BASIC_TYPES][BT NUMBER_OF_BASIC_TYPES] = { // nearest common ancestor
     
    650650
    651651        void postvisit( const ast::EnumInstType * enumInst ) {
    652                 if ( enumInst->base && !enumInst->base->isTyped ) {
     652                if ( enumInst->base && !enumInst->base->base ) {
    653653                        auto basicType = new ast::BasicType( ast::BasicKind::UnsignedInt );
    654654                        result = commonType( basicType, type2, tenv, need, have, open, widen);
Note: See TracChangeset for help on using the changeset viewer.