Re: [Doxygen-develop] Bug? Redundant generation of inner class docs
Brought to you by:
dimitri
From: Dimitri v. H. <di...@st...> - 2001-10-18 20:20:35
|
On Thu, Oct 18, 2001 at 02:45:50PM -0300, Brad Spencer wrote: > 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. This is wrong indeed. I'll use a different fix to make sure nested compounds are always written to a tag file after their parent. But thanks for pointing out the problem. Regards, Dimitri |