Apply 'make format'

This commit is contained in:
github action
2025-11-20 11:39:49 +00:00
parent a4e901135b
commit 0703159dbc
2 changed files with 5 additions and 5 deletions
+3 -4
View File
@@ -125,8 +125,7 @@ class LinkConfigsVisitor final : public VNVisitor {
}
void visit(AstConfigRule* nodep) override {
if (!nodep->cellp()) {
for (AstNode* usep = nodep->usep(); usep;
usep = usep->nextp()) {
for (AstNode* usep = nodep->usep(); usep; usep = usep->nextp()) {
m_state.m_liblist.push_back(usep->name());
}
} else {
@@ -210,8 +209,8 @@ class LinkCellsVisitor final : public VNVisitor {
// First search IEEE config library list
AstNodeModule* foundp;
for (auto const& l : m_state.m_liblist) {
foundp = findModuleLibSym(modName, l);
if (foundp) return foundp;
foundp = findModuleLibSym(modName, l);
if (foundp) return foundp;
}
// Then search local library
foundp = findModuleLibSym(modName, libname);