Some call graphs missing in C

647 Views Asked by At

I have a function Process1 for which I want to generate a call graph:

/**
********************************************************************************
\file             test.c
********************************************************************************
*/

/* function prototypes */
void Process1(void);
void init_function1 (void);
void function1 (void);
void function2 (void);


/**
********************************************************************************
\project          projectx
\funcname         Process1
\details          Aufruf von Prozess 1
                  \callgraph
********************************************************************************
*/
void Process1 (void)
{
    init_function1();
        for (;;)
    {
        function1();
        function2();
    }
}

/**
********************************************************************************
\details          Aufruf von Init Funktion 1
********************************************************************************
*/
void init_function1 (void)
{
    ;
}

/**
********************************************************************************
\details          Aufruf von Funktion 1
********************************************************************************
*/
void function1 (void)
{
    ;
}

/**
********************************************************************************
\details          Aufruf von Funktion 2
********************************************************************************
*/
void function2 (void)
{
    ;
}

The keywords \project and \funcname are ALIASES defined in Doxygen GUI 1.8.14 (Windows 7) to get a similar format like e.g. \author The definition is like that:

funcname=\par Name ^^
project=\par Project ^^

My problem is that if I use the ALIASES there is no callgraph. If I do not use the ALIASES (remove them in source code) there is a callgraph. How can I fix this issue?

0

There are 0 best solutions below