Changes in src/ResolvExpr/CommonType.cc [c333ed2:b2ea0cd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
rc333ed2 rb2ea0cd 39 39 40 40 // GENERATED START, DO NOT EDIT 41 // GENERATED BY BasicTypes-gen.c c41 // GENERATED BY BasicTypes-gen.cpp 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-> isTyped) {652 if ( enumInst->base && !enumInst->base->base ) { 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.