diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-10-28 19:06:37 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-10-28 19:06:37 (GMT) |
commit | 62d6edc6d0b299e93384e678748b635eb1bfe9b9 (patch) | |
tree | 60eda1cf44aa3fb80b441c3d949200b6ffb7c43d /src/doxygen.cpp | |
parent | 50828c3c773e8095785c010c1aad3891076742f4 (diff) | |
download | Doxygen-62d6edc6d0b299e93384e678748b635eb1bfe9b9.zip Doxygen-62d6edc6d0b299e93384e678748b635eb1bfe9b9.tar.gz Doxygen-62d6edc6d0b299e93384e678748b635eb1bfe9b9.tar.bz2 |
Release-1.3.9.1-20041028
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 57ad6a8..0e57ce1 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1222,20 +1222,26 @@ static void findUsingDeclarations(Entry *root) // with the most inner scope and going to the most outer scope (i.e. // file scope). + QCString name = substitute(root->name,".","::"); MemberDef *mtd=0; - usingCd = getResolvedClass(nd,fd,root->name,&mtd); + usingCd = getResolvedClass(nd,fd,name,&mtd); //printf("%s -> %p\n",root->name.data(),usingCd); if (usingCd==0) // definition not in the input => add an artificial class { Debug::print(Debug::Classes,0," New using class `%s' (sec=0x%08x)! #tArgLists=%d\n", - root->name.data(),root->section,root->tArgLists ? (int)root->tArgLists->count() : -1); + name.data(),root->section,root->tArgLists ? (int)root->tArgLists->count() : -1); usingCd = new ClassDef( "<using>",1, root->name,ClassDef::Class); Doxygen::hiddenClasses.append(root->name,usingCd); usingCd->setClassIsArtificial(); } + else + { + Debug::print(Debug::Classes,0," Found used class %s in scope=%s\n", + usingCd->name().data(),nd?nd->name().data():fd->name().data()); + } if (mtd) // add the typedef to the correct scope { @@ -8344,6 +8350,10 @@ void parseInput() buildClassDocList(root); resolveClassNestingRelations(); + msg("Searching for members imported via using declarations...\n"); + findUsingDeclImports(root); + findUsingDeclarations(root); + msg("Building example list...\n"); buildExampleList(root); @@ -8379,10 +8389,6 @@ void parseInput() findEnums(root); findEnumDocumentation(root); - msg("Searching for members imported via using declarations...\n"); - findUsingDeclImports(root); - findUsingDeclarations(root); - msg("Searching for member function documentation...\n"); findObjCMethodDefinitions(root); findMemberDocumentation(root); // may introduce new members ! @@ -8442,6 +8448,8 @@ void parseInput() msg("Adding todo/test/bug list items...\n"); addListReferences(); + msg("Computing dependencies between directories...\n"); + computeDirDependencies(); } void generateOutput() @@ -8640,8 +8648,7 @@ void generateOutput() writeGraphInfo(*outputList); } - //msg("Generating search index...\n"); - //generateSearchIndex(); + //writeDirDependencyGraph(Config_getString("HTML_OUTPUT")); if (Config_getBool("GENERATE_RTF")) { @@ -8664,15 +8671,6 @@ void generateOutput() Doxygen::formulaList.generateBitmaps(Config_getString("HTML_OUTPUT")); } - // This is confusing people, so I removed it - //if (Config_getBool("SEARCHENGINE") || Config_getList("TAGFILES").count()>0) - //{ - // msg("\nNow copy the file\n\n %s\n\nto the directory where the CGI binaries are " - // "located and don't forget to run\n\n",(Config_getString("HTML_OUTPUT")+"/"+Config_getString("CGI_NAME")).data()); - // msg(" %s/installdox\n\nto replace any dummy links.\n\n", - // Config_getString("HTML_OUTPUT").data()); - //} - if (Config_getBool("GENERATE_HTML") && Config_getBool("GENERATE_HTMLHELP")) { HtmlHelp::getInstance()->finalize(); |