mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Don't shadow names
This commit is contained in:
@@ -709,7 +709,6 @@ void makeEodEventLeftfix(RoseBuildImpl &build, RoseVertex u,
|
||||
g[v].literals.insert(eod_event);
|
||||
build.literal_info[eod_event].vertices.insert(v);
|
||||
|
||||
map<u32, set<ReportID> > report_remap;
|
||||
g[v].left.graph = eod_leftfix;
|
||||
g[v].left.leftfix_report = report_mapping.second;
|
||||
g[v].left.lag = 0;
|
||||
|
@@ -4906,11 +4906,11 @@ void addEodAnchorProgram(RoseBuildImpl &build, build_context &bc,
|
||||
assert(contains(bc.roleStateIndices, u));
|
||||
u32 predStateIdx = bc.roleStateIndices.at(u);
|
||||
|
||||
auto program = makeEodAnchorProgram(build, bc, e, multiple_preds);
|
||||
if (program.empty()) {
|
||||
auto prog = makeEodAnchorProgram(build, bc, e, multiple_preds);
|
||||
if (prog.empty()) {
|
||||
continue;
|
||||
}
|
||||
predProgramLists[predStateIdx].push_back(program);
|
||||
predProgramLists[predStateIdx].push_back(prog);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -511,8 +511,8 @@ bool RoseBuildImpl::isDirectReport(u32 id) const {
|
||||
}
|
||||
|
||||
// Use the program to handle cases that aren't external reports.
|
||||
for (const ReportID &id : g[v].reports) {
|
||||
if (!isExternalReport(rm.getReport(id))) {
|
||||
for (const ReportID &rid : g[v].reports) {
|
||||
if (!isExternalReport(rm.getReport(rid))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@@ -416,8 +416,8 @@ bool isDirectHighlander(const RoseBuildImpl &build, const u32 id,
|
||||
return false;
|
||||
}
|
||||
|
||||
auto is_simple_exhaustible = [&build](ReportID id) {
|
||||
const Report &report = build.rm.getReport(id);
|
||||
auto is_simple_exhaustible = [&build](ReportID rid) {
|
||||
const Report &report = build.rm.getReport(rid);
|
||||
return isSimpleExhaustible(report);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user