由于名称空间,Doxygen无法注意到重复项 [英] Doxygen fails to notice duplicates due to namespace

查看:80
本文介绍了由于名称空间,Doxygen无法注意到重复项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我对要记录的某些第三方库运行Doxygen时,它无法将某些条目识别为重复项。看起来好像某些代码使用了命名空间,而某些代码(已经在该命名空间中了?)遗漏了命名空间,这导致Doxygen感到困惑。

When I run Doxygen against some 3rd-party libraries I'd like documented, it fails to identify some entries as duplicates. It looks as if some code uses the namespace, and some code (already in that namespace?) is leaving out the namespace which results in Doxygen getting confused.

例如,当我查看类索引页面或类成员页面时,它生成的页面可能包括所有这些页面,就好像它们是4个不同的调用一样:

For example, when I look at the class index page or the class member page, the pages it generates might include all of these as if they were 4 different calls:


  • foo :: bar(aaa :: bbb)

  • foo :: bar(bbb)

  • bar(aaa :: bbb)

  • bar(bbb)

  • foo::bar( aaa::bbb )
  • foo::bar( bbb )
  • bar( aaa::bbb )
  • bar( bbb )

实际上,这些都是完全相同的方法,传入的参数也完全相同。这不仅会造成一些混乱,而且由于存在大量重复项,因此比生成文档所需的时间要长几个小时。

In reality, these are all exactly the same methods and the parameters passed in are also exactly the same. Not only does this cause some confusion, but it takes hours longer than necessary to generate documents since there are so many duplicates.

我希望有一个设置可以我以某种方式错过了Doxygen配置文件,我可以对其进行调整以帮助Doxygen忽略重复项或更好地识别这些重复项?

I'm hoping there is a setting I've somehow missed in the Doxygen config file which I can tweak either to help Doxygen ignore duplicates or to better identify these duplicates?

我正在使用Doxygen v1.8.1.2在Ubuntu 12.04上。

I'm using Doxygen v1.8.1.2 on Ubuntu 12.04.

推荐答案

(尚无完整答案),但我在2013年3月针对Doxygen创建了一个错误: https://bugzilla.gnome.org/show_bug.cgi?id=696925

Not a complete answer (yet) but I created a bug against Doxygen in March 2013: https://bugzilla.gnome.org/show_bug.cgi?id=696925

这篇关于由于名称空间,Doxygen无法注意到重复项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆