mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
DLATypeSystem.cpp: update scc_iterator API
This commit is contained in:
@@ -891,7 +891,7 @@ bool LayoutTypeSystem::verifyDAG() const {
|
||||
auto E = scc_end(Node);
|
||||
for (; I != E; ++I) {
|
||||
Visited.insert(I->begin(), I->end());
|
||||
if (I.hasLoop()) {
|
||||
if (I.hasCycle()) {
|
||||
if (VerifyDLALog.isEnabled())
|
||||
revng_check(false);
|
||||
return false;
|
||||
@@ -920,7 +920,7 @@ bool LayoutTypeSystem::verifyInheritanceDAG() const {
|
||||
auto E = scc_end(InheritanceNodeT(Node));
|
||||
for (; I != E; ++I) {
|
||||
Visited.insert(I->begin(), I->end());
|
||||
if (I.hasLoop()) {
|
||||
if (I.hasCycle()) {
|
||||
if (VerifyDLALog.isEnabled())
|
||||
revng_check(false);
|
||||
return false;
|
||||
@@ -949,7 +949,7 @@ bool LayoutTypeSystem::verifyInstanceDAG() const {
|
||||
auto E = scc_end(InstanceNodeT(Node));
|
||||
for (; I != E; ++I) {
|
||||
Visited.insert(I->begin(), I->end());
|
||||
if (I.hasLoop()) {
|
||||
if (I.hasCycle()) {
|
||||
if (VerifyDLALog.isEnabled())
|
||||
revng_check(false);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user