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

Method Function

src/Function.cpp:386–398  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

384 *
385 */
386Function::Function(const string &name, const Type *return_type)
387 : name(name),
388 return_type(return_type),
389 body(0),
390 fact_changed(false),
391 union_field_read(false),
392 is_inlined(false),
393 is_builtin(false),
394 visited_cnt(0),
395 build_state(UNBUILT)
396{
397 FuncList.push_back(this); // Add to global list of functions.
398}
399
400Function::Function(const string &name, const Type *return_type, bool builtin)
401 : name(name),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected