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

Method Type

src/Type.cpp:284–296  ·  view source on GitHub ↗

-------------------------------------------------------------- constructor for simple types ********************************************************/

Source from the content-addressed store, hash-verified

282/* constructor for simple types
283 ********************************************************/
284Type::Type(eSimpleType simple_type) :
285 eType(eSimple),
286 ptr_type(0),
287 simple_type(simple_type),
288 sid(0), // not used for simple types
289 used(false),
290 printed(false),
291 packed_(false),
292 has_assign_ops_(false),
293 has_implicit_nontrivial_assign_ops_(false)
294{
295 // Nothing else to do.
296}
297
298// --------------------------------------------------------------
299 /* constructor for struct or union types

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected