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

Method record_bitfields_writes

src/Bookkeeper.cpp:365–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void
366Bookkeeper::record_bitfields_writes(const Variable *var)
367{
368 assert(var);
369 assert(var->type);
370 const Type *type = var->type;
371
372 if (type->has_bitfields())
373 Bookkeeper::lhs_bitfields_structs_vars_cnt++;
374 if (var->isBitfield_)
375 Bookkeeper::lhs_bitfield_cnt++;
376}
377
378/*
379 * record the LHS/RHS types of comparisons between pointers

Callers

nothing calls this directly

Calls 1

has_bitfieldsMethod · 0.80

Tested by

no test coverage detected