@@ -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 ())
@@ -2206,6 +2208,7 @@ void MemberDefImpl::_writeTemplatePrefix(OutputList &ol, const Definition *def,
22062208 getFileDef (), // fileScope
22072209 this , // self
22082210 m_requiresClause, // text
2211+ nullptr , // arguments for names
22092212 TRUE , // autoBreak
22102213 TRUE , // external
22112214 FALSE , // keepSpaces
@@ -2390,11 +2393,12 @@ void MemberDefImpl::writeDeclaration(OutputList &ol,
23902393 getBodyDef (), // fileScope
23912394 this , // self
23922395 ltype.left (i), // text
2396+ nullptr , // arguments for names
23932397 FALSE // autoBreak
23942398 );
23952399 getAnonymousEnumType ()->writeEnumDeclaration (ol,cd,nd,fd,gd,mod);
23962400 // ol+=*getAnonymousEnumType()->enumDecl();
2397- linkifyText (TextGeneratorOLImpl (ol),d,getFileDef (),this ,ltype.right (ltype.length ()-i-l),TRUE );
2401+ linkifyText (TextGeneratorOLImpl (ol),d,getFileDef (),this ,ltype.right (ltype.length ()-i-l),nullptr , TRUE );
23982402 }
23992403 else
24002404 {
@@ -2404,6 +2408,7 @@ void MemberDefImpl::writeDeclaration(OutputList &ol,
24042408 getBodyDef (), // fileScope
24052409 this , // self
24062410 ltype, // text
2411+ nullptr , // arguments for names
24072412 FALSE // autoBreak
24082413 );
24092414 }
@@ -2425,6 +2430,7 @@ void MemberDefImpl::writeDeclaration(OutputList &ol,
24252430 getBodyDef (), // fileScope
24262431 this , // self
24272432 ltype, // text
2433+ nullptr , // arguments for names
24282434 FALSE // autoBreak
24292435 );
24302436 }
@@ -2517,6 +2523,7 @@ void MemberDefImpl::writeDeclaration(OutputList &ol,
25172523 isTypedef () ?
25182524 substitute (argsString ()," )(" ," ) (" ) :
25192525 combineArgsAndException (argsString (),excpString ()), // text
2526+ &m_defArgList,
25202527 m_annMemb!=nullptr , // autoBreak
25212528 TRUE , // external
25222529 FALSE , // keepSpaces
@@ -4082,7 +4089,7 @@ void MemberDefImpl::writeMemberDocSimple(OutputList &ol, const Definition *conta
40824089 ol.docify (doxyName);
40834090 if (isVariable () && !argsString ().isEmpty () && !isObjCMethod () && !isFunctionPtr ())
40844091 {
4085- linkifyText (TextGeneratorOLImpl (ol),getOuterScope (),getBodyDef (),this ,argsString ());
4092+ linkifyText (TextGeneratorOLImpl (ol),getOuterScope (),getBodyDef (),this ,argsString (),&m_defArgList );
40864093 }
40874094 if (!m_bitfields.isEmpty ()) // add bitfields
40884095 {
0 commit comments