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

Method OutputFirstQuals

src/CVQualifiers.cpp:693–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693void
694CVQualifiers::OutputFirstQuals(std::ostream &out) const
695{
696 if (is_consts.size() > 0 && is_consts[0]) {
697 if (!CGOptions::consts())
698 assert(0);
699 out << "const ";
700 }
701
702 if (is_volatiles.size() > 0 && is_volatiles[0]) {
703 if (!CGOptions::volatiles())
704 assert(0);
705 out << "volatile ";
706 }
707}
708
709void
710CVQualifiers::output() const

Callers 1

OutputStructUnionFunction · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected