Changeset 931dd12
- Timestamp:
- Feb 26, 2016, 3:59:09 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:
- 33e6a2cc
- Parents:
- d09c421
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/PtrsCastable.cc
rd09c421 r931dd12 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.