Handling two different functions with the same name in Doxygen

前端 未结 4 1838
梦谈多话
梦谈多话 2021-01-17 18:02

I have a C project which contains two functions with the same name, but each is within a different group/module (@defgroup).

These functions each compil

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-17 18:37

    No answer but same problem with C++ enums.

    We're generally lazy and copy the main.cpp from one of our CLI tool to the next... So they all contain:

    enum class Command {
        USAGE,
        SOME_COMMAND,
    }
    

    Most of these tools are diagnostics, PoC, live test tools for libs, etc...

    We build a single doc from all of our sources so the multiple declarations of this enum, even though they lie in different directories, will be found in the doc only once in the first file parsed and will contain ALL of the values declared in all the files... using clang parsing does not change anything there...

    That is quite misleading. The call graphs are wrong too of course...

提交回复
热议问题