Describe the bug
Definitions of variables containing function pointers that return a user-defined type are not treated as variable definitions, but as other code. Function pointers that return builtin types work appropriately.
Erroneous code
typedef int t_example;
void function2(void)
{
int (*builtin)(void);
t_example (*user_defined)(void);
}
Additional infos
OS: macOS Catalina 10.15.7 (19H15)
python3 --version: Python 3.9.5
norminette -v: norminette 3.3.54
Additional context
This issue is similar to #443, in that it concerns lack of detection of variable definitions.
Describe the bug Definitions of variables containing function pointers that return a user-defined type are not treated as variable definitions, but as other code. Function pointers that return builtin types work appropriately.
Erroneous code
Additional infos
Additional context This issue is similar to #443, in that it concerns lack of detection of variable definitions.