Changes in src/ResolvExpr/CommonType.cc [b2ea0cd:c333ed2]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
rb2ea0cd rc333ed2 39 39 40 40 // GENERATED START, DO NOT EDIT 41 // GENERATED BY BasicTypes-gen.c pp41 // GENERATED BY BasicTypes-gen.cc 42 42 #define BT ast::BasicKind:: 43 43 static const ast::BasicKind commonTypes[BT NUMBER_OF_BASIC_TYPES][BT NUMBER_OF_BASIC_TYPES] = { // nearest common ancestor … … 650 650 651 651 void postvisit( const ast::EnumInstType * enumInst ) { 652 if ( enumInst->base && !enumInst->base-> base) {652 if ( enumInst->base && !enumInst->base->isTyped ) { 653 653 auto basicType = new ast::BasicType( ast::BasicKind::UnsignedInt ); 654 654 result = commonType( basicType, type2, tenv, need, have, open, widen);
Note: See TracChangeset
for help on using the changeset viewer.