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 has been 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);
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: