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

Method OutputSize

src/SafeOpFlags.cpp:248–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void
249SafeOpFlags::OutputSize(std::ostream &out) const
250{
251 if(!op1_)
252 out << "u";
253
254 switch(op_size_) {
255 case sInt8:
256 out << "int8_t";
257 break;
258 case sInt16:
259 out << "int16_t";
260 break;
261 case sInt32:
262 out << "int32_t";
263 break;
264 case sInt64:
265 out << "int64_t";
266 break;
267 case sFloat:
268 out << "float";
269 break;
270 default:
271 assert(!"invalid size!");
272 break;
273 }
274}
275
276void
277SafeOpFlags::OutputFuncOrMacro(std::ostream &out) const

Callers 2

OutputMethod · 0.80
OutputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected