MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / getGlobalVarNames

Method getGlobalVarNames

ir/function.cpp:267–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267vector<string_view> Function::getGlobalVarNames() const {
268 vector<string_view> gvnames;
269 ranges::transform(
270 getGlobalVars(), back_inserter(gvnames),
271 [](auto &itm) { return string_view(itm->getName()).substr(1); });
272 return gvnames;
273}
274
275void Function::addPredicate(unique_ptr<Predicate> &&p) {
276 predicates.emplace_back(std::move(p));

Callers 1

preprocessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected