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

Method OutputDecl

src/Variable.cpp:691–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691void Variable::OutputDecl(std::ostream &out) const
692{
693 // force global variables to be static if necessary
694 if (CGOptions::force_globals_static() && is_global()) {
695 out << "static ";
696 }
697 output_qualified_type(out);
698 out << get_actual_name();
699}
700
701std::string
702Variable::get_actual_name() const

Callers 2

output_varMethod · 0.45
OutputVariableDeclListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected