Indent fix
authorClifford Wolf <clifford@clifford.at>
Wed, 5 Jun 2019 07:53:06 +0000 (09:53 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 5 Jun 2019 07:53:06 +0000 (09:53 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
passes/cmds/setundef.cc

index 5b43d528cc41f6895312f288b53a0c3f60ac7d8a..e46d0a1dc1bca243a18f12f8b78dcc12fad9a08b 100644 (file)
@@ -404,29 +404,31 @@ struct SetundefPass : public Pass {
                                        initwires.insert(wire);
                                }
 
-                               for (int wire_types = 0; wire_types < 2; wire_types++) {
-                                        pool<SigBit> ffbitsToErase;
-                                        for (auto wire : module->wires()) {
-                                                if (wire->name[0] == (wire_types ? '\\' : '$')) {
-                                                        next_wire:
-                                                        continue;
-                                                }
-
-                                                for (auto bit : sigmap(wire))
-                                                        if (!ffbits.count(bit)) {
-                                                                goto next_wire;
-                                                        }
-
-                                                for (auto bit : sigmap(wire)) {
-                                                        ffbitsToErase.insert(bit);
-                                                }
-
-                                                initwires.insert(wire);
-                                        }
-                                        for (const auto &bit : ffbitsToErase) {
-                                                ffbits.erase(bit);
-                                        }
-                                }
+                               for (int wire_types = 0; wire_types < 2; wire_types++)
+                               {
+                                       pool<SigBit> ffbitsToErase;
+                                       for (auto wire : module->wires())
+                                       {
+                                               if (wire->name[0] == (wire_types ? '\\' : '$')) {
+                                       next_wire:
+                                                       continue;
+                                               }
+
+                                               for (auto bit : sigmap(wire))
+                                                       if (!ffbits.count(bit)) {
+                                                               goto next_wire;
+                                                       }
+
+                                               for (auto bit : sigmap(wire)) {
+                                                       ffbitsToErase.insert(bit);
+                                               }
+
+                                               initwires.insert(wire);
+                                       }
+                                       for (const auto & bit : ffbitsToErase) {
+                                               ffbits.erase(bit);
+                                       }
+                               }
 
                                for (auto wire : initwires)
                                {