From 20af8a36a77d2b11b0522b214ba95047c16c887b Mon Sep 17 00:00:00 2001 From: github action Date: Tue, 28 Sep 2021 11:29:21 +0000 Subject: [PATCH] Apply 'make format' --- src/V3Const.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/V3Const.cpp b/src/V3Const.cpp index 267a84e79..8e454540b 100644 --- a/src/V3Const.cpp +++ b/src/V3Const.cpp @@ -1348,9 +1348,13 @@ private: // Must adjust by element width as declRange() is in number of elements string msbLsbProtected; if (nodep->declElWidth() == 0) { - msbLsbProtected = "(nodep->declElWidth() == 0) " + std::to_string(nodep->msbConst()) + ":" + std::to_string(nodep->lsbConst()); + msbLsbProtected = "(nodep->declElWidth() == 0) " + + std::to_string(nodep->msbConst()) + ":" + + std::to_string(nodep->lsbConst()); } else { - msbLsbProtected = std::to_string(nodep->msbConst() / nodep->declElWidth()) + ":" + std::to_string(nodep->lsbConst() / nodep->declElWidth()); + msbLsbProtected = std::to_string(nodep->msbConst() / nodep->declElWidth()) + + ":" + + std::to_string(nodep->lsbConst() / nodep->declElWidth()); } nodep->v3warn(SELRANGE, "Selection index out of range: "