After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 170235 - Support for D-style "alias"
Support for D-style "alias"
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: build
1.5.3-SVN
Other All
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks: 173045
 
 
Reported: 2005-03-13 21:11 UTC by Anders F Björklund
Modified: 2018-07-30 10:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anders F Björklund 2005-03-13 21:11:07 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
Comment 1 Stewart Gordon 2005-04-08 10:29:48 UTC
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.
Comment 2 Anders F Björklund 2005-04-08 10:35:44 UTC
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)
Comment 3 Dimitri van Heesch 2007-10-15 19:40:44 UTC
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.
Comment 4 André Klapper 2018-07-30 10:25:51 UTC
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!