Changeset bf4fe05 for src/ResolvExpr/CommonType.cpp
- Timestamp:
- May 13, 2024, 7:07:06 AM (17 months ago)
- Branches:
- master
- Children:
- ca4f2b2
- Parents:
- ec20ab9 (diff), 5f225f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cpp
rec20ab9 rbf4fe05 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // CommonType.c c--7 // CommonType.cpp -- 8 8 // 9 9 // Author : Richard C. Bilson … … 23 23 #include "AST/Pass.hpp" 24 24 #include "AST/Type.hpp" 25 #include "Unify.h "// for unifyExact, WidenMode26 #include " typeops.h"// for isFtype27 #include "Tuples/Tuples.h "25 #include "Unify.hpp" // for unifyExact, WidenMode 26 #include "Typeops.hpp" // for isFtype 27 #include "Tuples/Tuples.hpp" 28 28 29 29 // #define DEBUG … … 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.