remove redundant

This commit is contained in:
Egor Mayorov
2026-05-05 16:47:31 +03:00
parent 62e996f2e2
commit 3465feca35

View File

@@ -5,18 +5,14 @@
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include <cmath>
#include <climits>
#include <functional> #include <functional>
#include <cctype> #include <cctype>
#include "../../Utils/errors.h" #include "../../Utils/errors.h"
#include "../../Utils/SgUtils.h" #include "../../Utils/SgUtils.h"
#include "../../GraphCall/graph_calls.h" #include "../../GraphCall/graph_calls.h"
#include "../../GraphCall/graph_calls_func.h"
#include "../../CFGraph/CFGraph.h" #include "../../CFGraph/CFGraph.h"
#include "../../CFGraph/IR.h" #include "../../CFGraph/IR.h"
#include "../../GraphLoop/graph_loops.h"
#include "move_operators.h" #include "move_operators.h"
using namespace std; using namespace std;
@@ -102,8 +98,6 @@ static bool isBasicBlockInAnyLoop(const SAPFOR::BasicBlock* bb, const vector<SgS
if (!first || !last) if (!first || !last)
return false; return false;
for (auto* loop : loops) for (auto* loop : loops)
if (loop && isParentStmt(first, loop) && isParentStmt(last, loop)) if (loop && isParentStmt(first, loop) && isParentStmt(last, loop))
return true; return true;