diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-01 15:53:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 15:53:14 (GMT) |
commit | 33a02462fcadbf2e94381b88aff2d13d904d8529 (patch) | |
tree | a5ea5ecf6a82b16a366a6c881ce6d1a6067fd04f /src/vhdlcode.l | |
parent | 23d8bd36a5b8eb1f4d913b50db31a567a63ad994 (diff) | |
parent | 0f01005b90986347e57a78c58585aea959da72a1 (diff) | |
download | Doxygen-33a02462fcadbf2e94381b88aff2d13d904d8529.zip Doxygen-33a02462fcadbf2e94381b88aff2d13d904d8529.tar.gz Doxygen-33a02462fcadbf2e94381b88aff2d13d904d8529.tar.bz2 |
Merge branch 'master' into feature/bug_param_missing_warn
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r-- | src/vhdlcode.l | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l index 03bf883..9f128ea 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -434,14 +434,10 @@ static void writeMultiLineCodeLink(CodeOutputInterface &ol, static void setParameterList(const MemberDef *md) { g_classScope = md->getClassDef() ? md->getClassDef()->name().data() : ""; - const ArgumentList *al = md->argumentList(); - if (al==0) return; - ArgumentListIterator ali(*al); - const Argument *a; - for (ali.toFirst();(a=ali.current());++ali) + for (const Argument &a: md->argumentList()) { - g_parmName = a->name.copy(); - g_parmType = a->type.copy(); + g_parmName = a.name.copy(); + g_parmType = a.type.copy(); int i = g_parmType.find('*'); if (i!=-1) g_parmType = g_parmType.left(i); i = g_parmType.find('&'); @@ -683,9 +679,8 @@ static void codifyMapLines(const char *text) static void writeFuncProto() { - QList<Argument> ql; QCString name,ret; - VhdlDocGen::parseFuncProto(g_FuncProto,ql,name,ret,FALSE); + VhdlDocGen::parseFuncProto(g_FuncProto,name,ret,FALSE); if (name.isEmpty()) { @@ -702,7 +697,7 @@ static void writeFuncProto() { temp.stripPrefix("_");// _{package body name} } - MemberDef *mdef=VhdlDocGen::findFunction(ql,name,temp,FALSE); + MemberDef *mdef=VhdlDocGen::findFunction(name,temp); if (mdef) { |