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

Method Output

src/Lhs.cpp:223–236  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

221 *
222 */
223void
224Lhs::Output(std::ostream &out) const
225{
226 ExpressionVariable ev(var, type);
227 if (var.is_volatile() && CGOptions::wrap_volatiles()) {
228 out << "VOL_LVAL(";
229 ev.Output(out);
230 out << ", ";
231 type->Output(out);
232 out << ")";
233 } else {
234 ev.Output(out);
235 }
236}
237
238bool
239Lhs::is_volatile(void) const

Callers 15

output_exprMethod · 0.45
OutputMainMethod · 0.45
OutputPtrResetsMethod · 0.45
output_qualified_typeMethod · 0.45
output_symbolicsMethod · 0.45
output_castMethod · 0.45
goGeneratorMethod · 0.45
goGeneratorMethod · 0.45

Calls 1

is_volatileMethod · 0.45

Tested by 3

output_array_initMethod · 0.36
output_declsMethod · 0.36