Fix false DECLFILENAME on recursive modules.
This commit is contained in:
parent
7c443ab108
commit
f8ad0a0923
|
|
@ -194,6 +194,7 @@ private:
|
|||
UINFO(2,"Link Module: "<<nodep<<endl);
|
||||
if (nodep->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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue