Changes in src/InitTweak/FixInit.cc [a0c7d5cc:b8baa37]
- File:
-
- 1 edited
-
src/InitTweak/FixInit.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
ra0c7d5cc rb8baa37 385 385 void SelfAssignChecker::previsit( ApplicationExpr * appExpr ) { 386 386 DeclarationWithType * function = getFunction( appExpr ); 387 if ( function->name == "?=?" ) { // doesn't use isAssignment, because ?+=?, etc. should not count as self-assignment387 if ( isAssignment( function ) ) { 388 388 if ( appExpr->args.size() == 2 ) { 389 389 // check for structural similarity (same variable use, ignore casts, etc. - but does not look too deeply, anything looking like a function is off limits)
Note:
See TracChangeset
for help on using the changeset viewer.