We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproducer is 3 files
#include "toto.h" #include <stdio.h> int main() { toto p; p.t = 3; printf("loli %llx\n", p.t); return 0; }
#include "tata.h" typedef struct toto { tata t; } toto;
#include <stdint.h> typedef int64_t tata;
Program compiles and behaves as expected cf :
clang lol.c ./a.out
But running cppclean gives a false positive
cppclean toto.h toto.h:1: 'tata.h' does not need to be #included
Removing the include fives compilation error :
clang lol.c In file included from lol.c:1: ./toto.h:4:2: error: unknown type name 'tata' tata t; ^ 1 error generated.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Reproducer is 3 files
Program compiles and behaves as expected cf :
But running cppclean gives a false positive
Removing the include fives compilation error :
The text was updated successfully, but these errors were encountered: