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

Method record_bitfields_reads

src/Bookkeeper.cpp:352–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void
353Bookkeeper::record_bitfields_reads(const Variable *var)
354{
355 assert(var);
356 assert(var->type);
357 const Type *type = var->type;
358
359 if (type->has_bitfields())
360 Bookkeeper::rhs_bitfields_structs_vars_cnt++;
361 if (var->isBitfield_)
362 Bookkeeper::rhs_bitfield_cnt++;
363}
364
365void
366Bookkeeper::record_bitfields_writes(const Variable *var)

Callers

nothing calls this directly

Calls 1

has_bitfieldsMethod · 0.80

Tested by

no test coverage detected