diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-21 21:03:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-21 21:03:59 (GMT) |
commit | 04a4eddbeaa2fef70fe87a790efabe074062fadf (patch) | |
tree | 4cba2cc60a5a2a7a7965944fa0bd64213bdfa9f0 /src/doxygen.cpp | |
parent | d048df9811a8686d93dc28f275a1c5c575833669 (diff) | |
download | Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.zip Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.tar.gz Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.tar.bz2 |
Release-1.3.9.1-20041221
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 213689c..5ed0f9a 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -3431,8 +3431,11 @@ static bool findClassRelation( cd->getFileDef(), // todo: is this ok? baseClassName, &baseClassTypeDef, - &templSpec); - //printf("baseClassName=%s baseClass=%p cd=%p\n",baseClassName.data(),baseClass,cd); + &templSpec, + mode==Undocumented + ); + //printf("baseClassName=%s baseClass=%p cd=%p explicitGlobalScope=%d\n", + // baseClassName.data(),baseClass,cd,explicitGlobalScope); //printf(" root->name=`%s' baseClassName=`%s' baseClass=%s templSpec=%s\n", // root->name.data(), // baseClassName.data(), @@ -3530,7 +3533,7 @@ static bool findClassRelation( { findTemplateInstanceRelation(root,context,baseClass,templSpec,templateNames,isArtificial); } - else if (mode==DocumentedOnly) + else if (mode==DocumentedOnly || mode==Undocumented) { QCString usedName; if (baseClassTypeDef) @@ -4243,7 +4246,8 @@ static bool findGlobalMember(Entry *root, } else // got docs for an undefined member! { - if (root->type!="friend class" && root->type!="friend struct" && + if (root->type!="friend class" && + root->type!="friend struct" && root->type!="friend union") { warn(root->fileName,root->startLine, @@ -4879,10 +4883,12 @@ static void findMember(Entry *root, int candidates=0; if (mn->count()>0) { + //printf("Assume template class\n"); for (mni.toFirst();(md=mni.current());++mni) { ClassDef *cd=md->getClassDef(); - if (cd!=0 && cd->name()==className) + //printf("cd->name()==%s className=%s\n",cd->name().data(),className.data()); + if (cd!=0 && rightScopeMatch(cd->name(),className)) { if (root->tArgLists && md->templateArguments() && root->tArgLists->getLast()->count()<=md->templateArguments()->count()) @@ -6175,6 +6181,7 @@ static void inheritDocumentation() } if (bmd) // copy the documentation from the reimplemented member { + md->setInheritsDocsFrom(bmd); md->setDocumentation(bmd->documentation(),bmd->docFile(),bmd->docLine()); md->setDocsForDefinition(bmd->isDocsForDefinition()); md->setBriefDescription(bmd->briefDescription(),bmd->briefFile(),bmd->briefLine()); |