You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: