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

Method Output

src/Variable.cpp:713–728  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

711
712// --------------------------------------------------------------
713void
714Variable::Output(std::ostream &out) const
715{
716 if (is_volatile() && CGOptions::wrap_volatiles()) {
717 out << "VOL_RVAL(" << get_actual_name() << ", ";
718 type->Output(out);
719 out << ")";
720 }
721 else if (CGOptions::access_once() && isAccessOnce && !isAddrTaken) {
722 assert(CGOptions::access_once() && "access_once is disabled!");
723 out << "ACCESS_ONCE(" << get_actual_name() << ")";
724 }
725 else {
726 out << get_actual_name();
727 }
728}
729
730// --------------------------------------------------------------
731// This function is a bit of hack, because ---

Callers 1

OutputDefMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected