GNOME Bugzilla – Bug 557035
Empty class definitions not included in Tokens file
Last modified: 2009-12-30 13:38:54 UTC
Please describe the problem: Doxygen expects a class to always have a member symbol (and to start with a +/-). If the class has no members, doxygen fails to detect the class. Running doxygen over this header file with EXTRACT_ALL=YES causes no symbols to be found: #import <Foundation/Foundation.h> @interface MyEmptyClass : NSObject @end Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
I couldn't reproduce this (e.g. for me doxygen does produce a MyEmptyClass). Can you attach a self-contained example (source+config file in a zip) that allows me to reproduce the problem?
You're right. The HTML pages do get generated in this case. I was building the docset files and looking at the Tokens.xml file, which does not list MyEmptyClass. I've updated the bug summary and will attach my test files.
Created attachment 121055 [details] Sample header and config showing an empty class not listed in Tokens.xml
Confirmed. Should be fixed in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.2. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).