diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-28 15:52:58 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-28 15:52:58 (GMT) |
commit | 81adebde00a3fe5954b403f8c0d1a1a6ed833fa8 (patch) | |
tree | 659ad23b069fb18276bbc9610ed0f2c48169722b /src/memberdef.cpp | |
parent | 0e5fe1510853a0a05add1a9a25b3958893591328 (diff) | |
download | Doxygen-81adebde00a3fe5954b403f8c0d1a1a6ed833fa8.zip Doxygen-81adebde00a3fe5954b403f8c0d1a1a6ed833fa8.tar.gz Doxygen-81adebde00a3fe5954b403f8c0d1a1a6ed833fa8.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]+"); |