Changeset 777ed2b for src/InitTweak
- Timestamp:
- Jul 11, 2018, 11:55:59 AM (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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 0fc52b6
- Parents:
- fc20514 (diff), 7de22b28 (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/FixInit.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
rfc20514 r777ed2b 1163 1163 1164 1164 std::string fname = getFunctionName( appExpr ); 1165 if ( fname == function-> get_name()) {1165 if ( fname == function->name ) { 1166 1166 // call to same kind of function 1167 Expression * firstParam = appExpr-> get_args().front();1167 Expression * firstParam = appExpr->args.front(); 1168 1168 1169 1169 if ( isThisExpression( firstParam, thisParam ) ) { … … 1174 1174 // if first parameter is a member expression on the this parameter, 1175 1175 // then remove the member from unhandled set. 1176 if ( isThisExpression( memberExpr-> get_aggregate(), thisParam ) ) {1177 unhandled.erase( memberExpr-> get_member());1176 if ( isThisExpression( memberExpr->aggregate, thisParam ) ) { 1177 unhandled.erase( memberExpr->member ); 1178 1178 } 1179 1179 }
Note:
See TracChangeset
for help on using the changeset viewer.