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

Method get_seq_num

src/Variable.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254int
255Variable::get_seq_num(void) const
256{
257 size_t index = name.find('_');
258 assert(index != string::npos);
259 return StringUtils::str2int(name.substr(index+1));
260}
261
262/*
263 * return if this is the field of an array member

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected