diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-28 15:52:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-28 15:52:58 (GMT) |
commit | 1c51f44b5f0b3510618a283d522aab0741ddb3a1 (patch) | |
tree | 659ad23b069fb18276bbc9610ed0f2c48169722b /src/memberdef.cpp | |
parent | 939d1c84acd07060ee2b4bcbdc7dbccb80952385 (diff) | |
download | Doxygen-1c51f44b5f0b3510618a283d522aab0741ddb3a1.zip Doxygen-1c51f44b5f0b3510618a283d522aab0741ddb3a1.tar.gz Doxygen-1c51f44b5f0b3510618a283d522aab0741ddb3a1.tar.bz2 |
Release-1.3.9.1-20041228
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 6b28bf9..ded94bc 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -605,12 +605,12 @@ bool MemberDef::isLinkableInProject() const //printf("in a class but class not linkable!\n"); return FALSE; // in class but class not linkable } - if (!group && nspace && !nspace->isLinkableInProject()) + if (!group && nspace && !related && !nspace->isLinkableInProject()) { //printf("in a namespace but namespace not linkable!\n"); return FALSE; // in namespace but namespace not linkable } - if (!group && !nspace && fileDef && !fileDef->isLinkableInProject()) + if (!group && !nspace && !related && fileDef && !fileDef->isLinkableInProject()) { //printf("in a file but file not linkable!\n"); return FALSE; // in file (and not in namespace) but file not linkable @@ -679,7 +679,7 @@ ClassDef *MemberDef::getClassDefOfAnonymousType() } QCString ltype(type); // strip `static' keyword from ltype - if (ltype.left(7)=="static ") ltype=ltype.right(ltype.length()-7); + //if (ltype.left(7)=="static ") ltype=ltype.right(ltype.length()-7); // strip `friend' keyword from ltype if (ltype.left(7)=="friend ") ltype=ltype.right(ltype.length()-7); static QRegExp r("@[0-9]+"); @@ -927,7 +927,7 @@ void MemberDef::writeDeclaration(OutputList &ol, QCString ltype(type); if (mtype==Typedef) ltype.prepend("typedef "); // strip `static' keyword from ltype - if (ltype.left(7)=="static ") ltype=ltype.right(ltype.length()-7); + //if (ltype.left(7)=="static ") ltype=ltype.right(ltype.length()-7); // strip `friend' keyword from ltype if (ltype.left(7)=="friend ") ltype=ltype.right(ltype.length()-7); static QRegExp r("@[0-9]+"); |