Changeset bdad1679 for src/ResolvExpr
- Timestamp:
- Mar 2, 2016, 4:59:34 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 8f610e85
- Parents:
- 90c3b1c (diff), 540ddb7d (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
-
TabularUnified src/ResolvExpr/PtrsCastable.cc ¶
r90c3b1c rbdad1679 116 116 117 117 void PtrsCastable::visit(EnumInstType *inst) { 118 if ( dynamic_cast< EnumInstType* >( inst ) ) {118 if ( dynamic_cast< EnumInstType* >( dest ) ) { 119 119 result = 1; 120 } else if ( BasicType *bt = dynamic_cast< BasicType* >( inst ) ) {120 } else if ( BasicType *bt = dynamic_cast< BasicType* >( dest ) ) { 121 121 if ( bt->get_kind() == BasicType::SignedInt ) { 122 122 result = 0;
Note: See TracChangeset
for help on using the changeset viewer.