From a372e010bda869f0768c2de86729ea2103001a87 Mon Sep 17 00:00:00 2001 From: github action Date: Wed, 25 May 2022 04:51:51 +0000 Subject: [PATCH] Apply 'make format' --- src/verilog.y | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/verilog.y b/src/verilog.y index af2b427d3..ea4161500 100644 --- a/src/verilog.y +++ b/src/verilog.y @@ -104,7 +104,8 @@ public: string newtext = deQuote(fileline, text); return new AstText(fileline, newtext); } - AstNode* createCellOrIfaceRef(FileLine* fileline, const string& name, AstPin* pinlistp, AstNodeRange* rangelistp) { + AstNode* createCellOrIfaceRef(FileLine* fileline, const string& name, AstPin* pinlistp, + AstNodeRange* rangelistp) { // Must clone m_instParamp as may be comma'ed list of instances VSymEnt* const foundp = SYMP->symCurrentp()->findIdFallback(name); if (foundp && VN_IS(foundp->nodep(), Port)) { @@ -118,9 +119,12 @@ public: AstVar* const nodep = createVariable(fileline, name, rangelistp, nullptr); return nodep; } - AstCell* const nodep = new AstCell{fileline, GRAMMARP->m_instModuleFl, - name, GRAMMARP->m_instModule, pinlistp, - AstPin::cloneTreeNull(GRAMMARP->m_instParamp, true), + AstCell* const nodep = new AstCell{fileline, + GRAMMARP->m_instModuleFl, + name, + GRAMMARP->m_instModule, + pinlistp, + AstPin::cloneTreeNull(GRAMMARP->m_instParamp, true), GRAMMARP->scrubRange(rangelistp)}; nodep->trace(GRAMMARP->allTracingOn(fileline)); return nodep;