| 363 | } |
| 364 | |
| 365 | bool Structure::canCopy(bool tempMatters) const { |
| 366 | if ( circularGuard ) return true; |
| 367 | circularGuard = true; |
| 368 | for ( const auto & fd : fields ) { |
| 369 | if ( !fd.type->canCopy(tempMatters) ) { |
| 370 | circularGuard = false; |
| 371 | return false; |
| 372 | } |
| 373 | } |
| 374 | circularGuard = false; |
| 375 | return true; |
| 376 | } |
| 377 | |
| 378 | bool Structure::canMove() const { |
| 379 | if ( circularGuard ) return true; |
no outgoing calls
no test coverage detected