Skip to content

Commit 7b9535f

Browse files
committed
bug 129682 Wrong function dependency is made
Windows compiler was apparently not strict enough ... The dummy argument names (parameters) in the brief description should not be linked to an entity (function, variable, ...). (this fixes part 2 of the mentioned bug)
1 parent bb3d278 commit 7b9535f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/classdef.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,7 @@ void ClassDefImpl::writeTemplateSpec(OutputList &ol,const Definition *d,
15211521
getFileDef(), // fileScope
15221522
this, // self
15231523
a.type, // text
1524+
nullptr,
15241525
FALSE // autoBreak
15251526
);
15261527
if (!a.name.isEmpty())
@@ -1547,6 +1548,7 @@ void ClassDefImpl::writeTemplateSpec(OutputList &ol,const Definition *d,
15471548
getFileDef(), // fileScope
15481549
this, // self
15491550
m_requiresClause, // text
1551+
nullptr,
15501552
FALSE // autoBreak
15511553
);
15521554
ol.lineBreak();

src/memberdef.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ static bool writeDefArgumentList(OutputList &ol,const Definition *scope,const Me
11881188
n=addTemplateNames(n,scope->name(),cName);
11891189
}
11901190
ol.startParameterDefVal(" = ");
1191-
linkifyText(TextGeneratorOLImpl(ol),scope,md->getBodyDef(),md,n,FALSE,TRUE,TRUE);
1191+
linkifyText(TextGeneratorOLImpl(ol),scope,md->getBodyDef(),md,n,nullptr,FALSE,TRUE,TRUE);
11921192
ol.endParameterDefVal();
11931193
}
11941194
++alIt;
@@ -1251,6 +1251,7 @@ static bool writeDefArgumentList(OutputList &ol,const Definition *scope,const Me
12511251
md->getBodyDef(), // fileScope
12521252
md, // self
12531253
defArgList.trailingReturnType(), // text
1254+
nullptr,
12541255
FALSE // autoBreak
12551256
);
12561257

@@ -2181,6 +2182,7 @@ void MemberDefImpl::_writeTemplatePrefix(OutputList &ol, const Definition *def,
21812182
getFileDef(), // fileScope
21822183
this, // self
21832184
a.type, // text
2185+
nullptr,
21842186
FALSE // autoBreak
21852187
);
21862188
if (!a.name.isEmpty())

0 commit comments

Comments
 (0)