[Doxygen-develop] Bug? Redundant generation of inner class docs
Brought to you by:
dimitri
From: Brad S. <sp...@in...> - 2001-10-18 17:46:40
|
After running doxygen-1.2.11.1 over my (large) source tree, I found that it was taking a _long_ time to finish writing out the namespace docs. After a bit of poking around and debugging, I narrowed it down to line 5816 of doxygen.cpp, inside generateNamespaceDocs. It looks like the loop construct there was copied from generateClassDocs. Anyway, it ends up calling ClassDef::writeDocumentationForInnerClasses for each class in the dictionary over again for every namespace! As far as I can tell, this results in these inner classes' documentation being regenerated identically over and over again. I'm providing a patch to remove this call since it has definately already been done by the time we get to generateNamespaceDocs. I haven't seen any trouble with the output so far. I've attached the brief patch. -- ----------------------------------------------------------------- Brad Spencer - sp...@in... - "It's quite nice..." Systems Architect | InfoInterActive Corp. | An AOL Company |