GNOME Bugzilla – Bug 170235
Support for D-style "alias"
Last modified: 2018-07-30 10:25:51 UTC
In the D language, "typedef" introduces a True Typedef (a new type that cannot be implicitly casted to/from) whileas the C-style typedef is called "alias" instead. Suggestion: introduce "alias" keyword when in D mode, as a synonym for the currently existing "typedef" one ? (currently this substitution is done by a filter...) Reference http://www.digitalmars.com/d/declaration.html
Since alias is by no means a synonym for typedef, it must not be treated as one. Doing so would just generate bogus documentation. Firstly, aliases can be made of almost anything, not just types. Secondly, D typedefs are strong. Aliases simply define synonyms. The distinction must be preserved, by listing them under a separate 'Aliases' heading.
Right, thanks for the clarification... Aliases can be made of e.g. functions too. Which would mean it's more like #define, in what you can make it do in the end ? Anyway, the dfilter used the alias=typedef hack. (it works for the simplistic cases, fails others)
This bug's version was set to "latest". Since this is a moving target, I changed it to 1.5.3-SVN. If you believe this has already been fixed, then please change the status accordingly.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!