From 555269f7919c1580d3ec10b8e5c1dc8f5c235cbf Mon Sep 17 00:00:00 2001 From: github action Date: Sat, 23 Jan 2021 15:32:52 +0000 Subject: [PATCH] Apply clang-format --- src/V3LinkLevel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/V3LinkLevel.cpp b/src/V3LinkLevel.cpp index b8f2aa104..96ef55d56 100644 --- a/src/V3LinkLevel.cpp +++ b/src/V3LinkLevel.cpp @@ -102,8 +102,7 @@ void V3LinkLevel::timescaling(const ModVec& mods) { for (AstNodeModule* nodep : mods) { if (nodep->timeunit().isNone()) { - if (modTimedp && !VN_IS(nodep, Iface) - && !VN_IS(nodep, Primitive) + if (modTimedp && !VN_IS(nodep, Iface) && !VN_IS(nodep, Primitive) && !(VN_IS(nodep, Package) && VN_CAST(nodep, Package)->isDollarUnit())) { nodep->v3warn(TIMESCALEMOD, "Timescale missing on this module as other modules have "