Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 515840

Summary: app-doc/doxygen - add support for clang assisted parsing
Product: Gentoo Linux Reporter: Christopher Schwan <handgranaten-herbert>
Component: Current packagesAssignee: Development Tools Team <dev-tools>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://comments.gmane.org/gmane.comp.compilers.clang.devel/29490
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add support for clang assisted parsing

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