mirror of https://github.com/llvm/circt.git
[NFC] clang-tidy fix
This commit is contained in:
parent
79baf6c364
commit
43371fde8c
|
@ -442,7 +442,7 @@ static void lowerModuleBody(FModuleOp mod,
|
|||
}
|
||||
// Zero Width ports may have dangling connects since they are not preserved
|
||||
// and do not have bounce wires.
|
||||
for (auto use : inst->getUsers()) {
|
||||
for (auto *use : inst->getUsers()) {
|
||||
assert(isa<StrictConnectOp>(use) || isa<ConnectOp>(use));
|
||||
use->erase();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue