MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / isCopyOrMove

Method isCopyOrMove

src/ast/ast_simulate.cpp:1492–1495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1490 }
1491
1492 bool ExprInvoke::isCopyOrMove() const {
1493 auto blockT = arguments[0]->type;
1494 return blockT->firstType && blockT->firstType->isRefType() && !blockT->firstType->ref;
1495 }
1496
1497 ExpressionPtr SimulateVisitor::visit(ExprInvoke * expr) {
1498 const auto &at = expr->at;

Callers 3

preVisitLetMethod · 0.80
canRelaxAssignMethod · 0.80
visitMethod · 0.80

Calls 1

isRefTypeMethod · 0.45

Tested by

no test coverage detected