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

Method is_seen_name

src/Variable.cpp:1119–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1117}
1118
1119bool
1120Variable::is_seen_name(vector<std::string> &seen_names, const std::string &name) const
1121{
1122 for (vector<string>::iterator i = seen_names.begin(); i != seen_names.end(); ++i) {
1123 std::string n = (*i);
1124 n += "[";
1125 if (!name.compare(0, n.length(), n)) {
1126 return true;
1127 }
1128 }
1129 return false;
1130}
1131
1132bool
1133Variable::is_valid_volatile(void) const

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected