Changeset 4cb935e for src/ResolvExpr
- Timestamp:
- Dec 1, 2016, 12:46:34 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 78b3f52
- Parents:
- 148f7290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
r148f7290 r4cb935e 243 243 result->get_qualifiers() += zeroType->get_qualifiers(); 244 244 } 245 } else if ( widenSecond && dynamic_cast< OneType* >( type2 ) ) { 246 result = new BasicType( zeroType->get_qualifiers(), BasicType::SignedInt ); 247 result->get_qualifiers() += type2->get_qualifiers(); 245 248 } 246 249 } … … 254 257 result->get_qualifiers() += oneType->get_qualifiers(); 255 258 } 259 } else if ( widenSecond && dynamic_cast< ZeroType* >( type2 ) ) { 260 result = new BasicType( oneType->get_qualifiers(), BasicType::SignedInt ); 261 result->get_qualifiers() += type2->get_qualifiers(); 256 262 } 257 263 }
Note: See TracChangeset
for help on using the changeset viewer.