Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515840 - app-doc/doxygen - add support for clang assisted parsing
Summary: app-doc/doxygen - add support for clang assisted parsing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Development Tools Team
URL: http://comments.gmane.org/gmane.comp....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 10:22 UTC by Christopher Schwan
Modified: 2014-12-24 14:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
add support for clang assisted parsing (doxygen-1.8.5-with-libclang.patch,1.03 KB, patch)
2014-06-30 16:03 UTC, Christopher Schwan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Schwan 2014-06-30 10:22:04 UTC
Please add support for clang assisted parsing in app-doc/doxygen.

Doxygen offers this feature since 1.8.4[1] which is activated by configuring with `--with-libclang`. If activated, Doxygen recognizes two new configurations options, CLANG_ASSISTED_PARSING and CLANG_OPTIONS, that makes it rely on clang for parsing. This is really helpful for template-heavy C++ projects; without it Doxygen sometimes produces garbage.

I propose to enable it via `USE=clang`.

[1] http://www.stack.nl/~dimitri/doxygen/manual/changelog.html#log_1_8_4

Reproducible: Always
Comment 1 Christopher Schwan 2014-06-30 16:03:32 UTC
Created attachment 379998 [details, diff]
add support for clang assisted parsing
Comment 2 Christopher Schwan 2014-06-30 16:04:16 UTC
The patch should do the trick, tested with clang-3.3-r100.
Comment 3 Matthias Maier gentoo-dev 2014-12-24 14:53:54 UTC
Supported starting with 1.8.8

*doxygen-1.8.8 (24 Dec 2014)

  24 Dec 2014; Matthias Maier <tamiko@gentoo.org> +doxygen-1.8.8.ebuild,
  doxygen-1.8.5.ebuild, metadata.xml:
  version bump and support for python3, bug #499532; add support for doxysearch,
  bug #508962; fix linkage on with sys-libc/uclibc, bug #512782; add support for
  clang assisted parsing, bug #515840; fix linkage on Gentoo/FreeBSD, bug
  #511024