From f8ad0a0923ee65afc5491738800cc4471793a541 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 21 Nov 2017 22:01:28 -0500 Subject: [PATCH] Fix false DECLFILENAME on recursive modules. --- src/V3LinkCells.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/V3LinkCells.cpp b/src/V3LinkCells.cpp index 98ba20b0e..6952451e3 100644 --- a/src/V3LinkCells.cpp +++ b/src/V3LinkCells.cpp @@ -194,6 +194,7 @@ private: UINFO(2,"Link Module: "<fileline()->filebasenameNoExt() != nodep->prettyName() && !v3Global.opt.isLibraryFile(nodep->fileline()->filename()) + && !nodep->recursiveClone() && !nodep->internal()) { // We only complain once per file, otherwise library-like files have a huge mess of warnings if (m_declfnWarned.find(nodep->fileline()->filename()) == m_declfnWarned.end()) {