Changeset 26238c1 for src/InitTweak/InitTweak.cc
- Timestamp:
- Aug 28, 2017, 2:59:36 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:
- 234223f, afce1cf
- Parents:
- 2065609 (diff), 1cb758f2 (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
-
src/InitTweak/InitTweak.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cc
r2065609 r26238c1 418 418 assertf( ! tuple->get_exprs().empty(), "TupleAssignExpr somehow has empty tuple expr." ); 419 419 return getCallArg( tuple->get_exprs().front(), pos ); 420 } else if ( ImplicitCopyCtorExpr * copyCtor = dynamic_cast< ImplicitCopyCtorExpr * >( callExpr ) ) { 421 return getCallArg( copyCtor->callExpr, pos ); 420 422 } else { 421 423 assertf( false, "Unexpected expression type passed to getCallArg: %s", toString( callExpr ).c_str() ); … … 450 452 } else if ( ApplicationExpr * appExpr = dynamic_cast< ApplicationExpr * >( func ) ) { 451 453 return handleDerefName( appExpr ); 454 } else if ( ConstructorExpr * ctorExpr = dynamic_cast< ConstructorExpr * >( func ) ) { 455 return funcName( getCallArg( ctorExpr->get_callExpr(), 0 ) ); 452 456 } else { 453 assertf( false, "Unexpected expression type being called as a function in call expression ");457 assertf( false, "Unexpected expression type being called as a function in call expression: %s", toString( func ).c_str() ); 454 458 } 455 459 }
Note:
See TracChangeset
for help on using the changeset viewer.