MCPcopy Create free account
hub / github.com/csmith-project/csmith / safe_assign

Method safe_assign

src/StatementAssign.cpp:227–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227bool
228StatementAssign::safe_assign(eAssignOps op)
229{
230 switch (op) {
231 case eBitAndAssign: // fall-through
232 case eBitXorAssign: // fall-through
233 case eBitOrAssign:
234 return true;
235 default:
236 return false;
237 }
238}
239
240StatementAssign *
241StatementAssign::make_possible_compound_assign(CGContext &cg_context,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected