Skip to content

Commit

Permalink
Remove default assignment from Translator::trVhdlType() declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Regel committed Jan 9, 2018
1 parent fe88231 commit da7ff05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/classdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@ void ClassDef::writeMemberList(OutputList &ol)
QStrList sl;
if (lang==SrcLangExt_VHDL)
{
sl.append(theTranslator->trVhdlType(md->getMemberSpecifiers())); //append vhdl type
sl.append(theTranslator->trVhdlType(md->getMemberSpecifiers(),TRUE)); //append vhdl type
}
else if (md->isFriend()) sl.append("friend");
else if (md->isRelated()) sl.append("related");
Expand Down
2 changes: 1 addition & 1 deletion src/memberdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,7 @@ void MemberDef::getLabels(QStrList &sl,Definition *container) const
bool extractPrivate = Config_getBool(EXTRACT_PRIVATE);
if (optVhdl)
{
sl.append(theTranslator->trVhdlType(getMemberSpecifiers()));
sl.append(theTranslator->trVhdlType(getMemberSpecifiers(),TRUE));
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/translator.h
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ class Translator
virtual QCString trDesignUnitIndex() = 0;
virtual QCString trDesignUnits() = 0;
virtual QCString trFunctionAndProc() = 0;
virtual QCString trVhdlType(uint64 type,bool single=true) = 0;
virtual QCString trVhdlType(uint64 type,bool single) = 0;
virtual QCString trCustomReference(const char *name) = 0;
};

Expand Down
6 changes: 3 additions & 3 deletions src/vhdldocgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1753,7 +1753,7 @@ void VhdlDocGen::writeVhdlDeclarations(MemberList* ml,
VhdlDocGen::writeVHDLDeclarations(ml,ol,cd,nd,fd,gd,theTranslator_vhdlType(VhdlDocGen::GROUP,FALSE),0,FALSE,VhdlDocGen::GROUP);
VhdlDocGen::writeVHDLDeclarations(ml,ol,cd,nd,fd,gd,theTranslator_vhdlType(VhdlDocGen::INSTANTIATION,FALSE),0,FALSE,VhdlDocGen::INSTANTIATION);
VhdlDocGen::writeVHDLDeclarations(ml,ol,cd,nd,fd,gd,theTranslator_vhdlType(VhdlDocGen::ALIAS,FALSE),0,FALSE,VhdlDocGen::ALIAS);
VhdlDocGen::writeVHDLDeclarations(ml,ol,cd,nd,fd,gd,theTranslator_vhdlType(VhdlDocGen::MISCELLANEOUS),0,FALSE,VhdlDocGen::MISCELLANEOUS);
VhdlDocGen::writeVHDLDeclarations(ml,ol,cd,nd,fd,gd,theTranslator_vhdlType(VhdlDocGen::MISCELLANEOUS,TRUE),0,FALSE,VhdlDocGen::MISCELLANEOUS);

// configurations must be added to global file definitions.
VhdlDocGen::writeVHDLDeclarations(ml,ol,cd,nd,fd,gd,theTranslator_vhdlType(VhdlDocGen::CONFIG,FALSE),0,FALSE,VhdlDocGen::CONFIG);
Expand Down Expand Up @@ -2379,7 +2379,7 @@ bool VhdlDocGen::writeClassType( ClassDef *& cd,
OutputList &ol ,QCString & cname)
{
int id=cd->protection();
QCString qcs = theTranslator->trVhdlType(id+2);
QCString qcs = theTranslator->trVhdlType(id+2,TRUE);
cname=VhdlDocGen::getClassName(cd);
ol.startBold();
ol.writeString(qcs.data());
Expand Down Expand Up @@ -3834,7 +3834,7 @@ void FlowChart::createSVG()

//const MemberDef *m=VhdlDocGen::getFlowMember();
//if (m)
// fprintf(stderr,"\n creating flowchart : %s %s in file %s \n",theTranslator->trVhdlType(m->getMemberSpecifiers()),m->name().data(),m->getFileDef()->name().data());
// fprintf(stderr,"\n creating flowchart : %s %s in file %s \n",theTranslator->trVhdlType(m->getMemberSpecifiers(),TRUE),m->name().data(),m->getFileDef()->name().data());

QCString dir=" -o \""+ov+qcs+"\"";
ov+="/flow_design.dot";
Expand Down

0 comments on commit da7ff05

Please sign in to comment.