Skip to content

Commit

Permalink
Bug 744762 - Using TAGFILES prevents symbol extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jun 11, 2015
1 parent 7a0c06d commit a735498
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/doxygen.cpp
Expand Up @@ -1745,6 +1745,13 @@ static void buildNamespaceList(EntryNav *rootNav)
{
nd->setLanguage(root->lang);
}
if (rootNav->tagInfo()==0) // if we found the namespace in a tag file
// and also in a project file, then remove
// the tag file reference
{
nd->setReference("");
nd->setFileName(fullName);
}

// file definition containing the namespace nd
FileDef *fd=rootNav->fileDef();
Expand Down
9 changes: 7 additions & 2 deletions src/namespacedef.cpp
Expand Up @@ -46,8 +46,7 @@ NamespaceDef::NamespaceDef(const char *df,int dl,int dc,
}
else
{
fileName="namespace";
fileName+=name;
setFileName(name);
}
classSDict = new ClassSDict(17);
namespaceSDict = new NamespaceSDict(17);
Expand Down Expand Up @@ -89,6 +88,12 @@ NamespaceDef::~NamespaceDef()
delete m_allMembersDict;
}

void NamespaceDef::setFileName(const QCString &fn)
{
fileName="namespace";
fileName+=fn;
}

void NamespaceDef::distributeMemberGroupDocumentation()
{
MemberGroupSDict::Iterator mgli(*memberGroupSDict);
Expand Down
1 change: 1 addition & 0 deletions src/namespacedef.h
Expand Up @@ -83,6 +83,7 @@ class NamespaceDef : public Definition
virtual Definition *findInnerCompound(const char *name);
void addInnerCompound(Definition *d);
void addListReferences();
void setFileName(const QCString &fn);

bool subGrouping() const { return m_subGrouping; }

Expand Down

0 comments on commit a735498

Please sign in to comment.