Changeset 884f1409 for src/ResolvExpr/TypeEnvironment.cc
- Timestamp:
- Jul 19, 2019, 4:52:59 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b5ce31e, fd642d2
- Parents:
- e723100 (diff), 335d81f (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 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/TypeEnvironment.cc
re723100 r884f1409 315 315 } 316 316 317 bool isFtype( Type *type ) {318 if ( dynamic_cast< FunctionType* >( type ) ) {317 bool isFtype( const Type *type ) { 318 if ( dynamic_cast< const FunctionType * >( type ) ) { 319 319 return true; 320 } else if ( TypeInstType *typeInst = dynamic_cast< TypeInstType* >( type ) ) {320 } else if ( const TypeInstType *typeInst = dynamic_cast< const TypeInstType * >( type ) ) { 321 321 return typeInst->get_isFtype(); 322 322 } // if
Note: See TracChangeset
for help on using the changeset viewer.