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
{{ message }}
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
When I declare a function that takes a custom parameter, linter-clang reports an error. By custom, I mean a parameter which is either a struct or a typedef. Below is an example code.
Note: the struct/typedef is defined in another header file, but that header file has been included correctly.
// header_file1.h
struct _node;
typedef struct _node node;
struct _node
{
int a;
int b;
};
// header_file2.h
#include "header_file1.h"
int DoSomething(node);