* */
| 49 | * |
| 50 | */ |
| 51 | Expression * |
| 52 | ExpressionAssign::make_random(CGContext &cg_context, const Type* type, const CVQualifiers* qfer) |
| 53 | { |
| 54 | CVQualifiers qf; |
| 55 | if (qfer == NULL) { |
| 56 | qf = CVQualifiers::random_qualifiers(type, Effect::WRITE, cg_context, true); |
| 57 | qfer = &qf; |
| 58 | } |
| 59 | StatementAssign* sa = StatementAssign::make_random(cg_context, type, qfer); |
| 60 | FactMgr* fm = get_fact_mgr(&cg_context); |
| 61 | FactMgr::update_fact_for_assign(sa, fm->global_facts); |
| 62 | ExpressionAssign* ea = new ExpressionAssign(sa); |
| 63 | return ea; |
| 64 | } |
| 65 | |
| 66 | ExpressionAssign::ExpressionAssign(const StatementAssign* sa) |
| 67 | : Expression(eAssignment), |
nothing calls this directly
no test coverage detected