Changes in src/ControlStruct/MLEMutator.cc [9d6317f:5cdeecd]
- File:
-
- 1 edited
-
src/ControlStruct/MLEMutator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/MLEMutator.cc
r9d6317f r5cdeecd 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Jan 22 11:50:00 202013 // Update Count : 22 312 // Last Modified On : Tue Jan 21 10:33:00 2020 13 // Update Count : 222 14 14 // 15 15 … … 60 60 } 61 61 } // namespace 62 63 void MultiLevelExitMutator::premutate( FunctionDecl * ) {64 visit_children = false;65 }66 62 67 63 // break labels have to come after the statement they break out of, so mutate a statement, then if they inform us … … 356 352 }); 357 353 enclosingControlStructures = std::list<Entry>(); 358 GuardValue( inFinally );359 inFinally = true;360 }361 362 void MultiLevelExitMutator::premutate( ReturnStmt *returnStmt ) {363 if ( inFinally ) {364 SemanticError( returnStmt->location, "'return' may not appear in a finally clause" );365 }366 354 } 367 355
Note:
See TracChangeset
for help on using the changeset viewer.