| 376 | } |
| 377 | |
| 378 | bool Structure::canMove() const { |
| 379 | if ( circularGuard ) return true; |
| 380 | circularGuard = true; |
| 381 | for ( const auto & fd : fields ) { |
| 382 | if ( !fd.type->canMove() ) { |
| 383 | circularGuard = false; |
| 384 | return false; |
| 385 | } |
| 386 | } |
| 387 | circularGuard = false; |
| 388 | return true; |
| 389 | } |
| 390 | |
| 391 | bool Structure::canCloneFromConst() const { |
| 392 | if ( circularGuard ) return true; |
no outgoing calls
no test coverage detected