diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-26 14:15:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-26 14:15:46 (GMT) |
commit | 1fb3a77524a31472d1ecb9bafb3491ddbbd096e3 (patch) | |
tree | 9acee8d8d8b91289eb8173fd93a8f16891fc2a92 /src/doxygen.cpp | |
parent | 8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77 (diff) | |
download | Doxygen-1fb3a77524a31472d1ecb9bafb3491ddbbd096e3.zip Doxygen-1fb3a77524a31472d1ecb9bafb3491ddbbd096e3.tar.gz Doxygen-1fb3a77524a31472d1ecb9bafb3491ddbbd096e3.tar.bz2 |
Release-1.2.10
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index b0d7dab..f19f411 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -888,6 +888,7 @@ static void buildClassList(Entry *root) cd->setTemplateArguments(tArgList); cd->setProtection(root->protection); cd->addSectionsToDefinition(root->anchors); + cd->setIsStatic(root->stat); // file definition containing the class cd cd->setBodySegment(root->bodyLine,root->endBodyLine); @@ -2677,14 +2678,20 @@ static bool findTemplateInstanceRelation(Entry *root, // search for new template instances caused by base classes of // instanceClass Entry *templateRoot = classEntries.find(templateClass->name()); + if (templateRoot) + { + ArgumentList *templArgs = new ArgumentList; + stringToArgumentList(templSpec,templArgs); + findBaseClassesForClass(templateRoot,templateClass,instanceClass, + TemplateInstances,isArtificial,templArgs,templateNames); - ArgumentList *templArgs = new ArgumentList; - stringToArgumentList(templSpec,templArgs); - findBaseClassesForClass(templateRoot,templateClass,instanceClass, - TemplateInstances,isArtificial,templArgs,templateNames); - - findUsedClassesForClass(templateRoot,templateClass,instanceClass, - isArtificial,templArgs,templateNames); + findUsedClassesForClass(templateRoot,templateClass,instanceClass, + isArtificial,templArgs,templateNames); + } + else + { + // TODO: what happened if we get here? + } //Debug::print(Debug::Classes,0," Template instance %s : \n",instanceClass->name().data()); //ArgumentList *tl = templateClass->templateArguments(); @@ -7132,7 +7139,7 @@ void parseInput() msg("Adding source references...\n"); addSourceReferences(); - msg("Adding todo/test/bug list item...\n"); + msg("Adding todo/test/bug list items...\n"); addTodoTestBugReferences(); } |