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
minimal example to reproduce this:
struct Fts3Table { struct Fts3Index { int nPrefix; } *aIndex; }; static int fts3PrefixParameter( const char *zParam, int *pnIndex, struct Fts3Index **apIndex ){ int a = sizeof(struct Fts3Index); return 0; }
clang-extract -Wno-everything test.c -DCE_EXTRACT_FUNCTIONS=fts3PrefixParameter -DCE_OUTPUT_FILE=- -DCE_DUMP_PASSES test.c:7:11: error: invalid application of 'sizeof' to an incomplete type 'struct Fts3Index' 7 | int a = sizeof(struct Fts3Index); | ^ ~~~~~~~~~~~~~~~~~~ test.c:5:10: note: forward declaration of 'struct Fts3Index' 5 | struct Fts3Index **apIndex | ^ Error on pass: ClosurePass
The dumped intermediate pass:
/** clang-extract: from test.c:7:1 */ static int fts3PrefixParameter( const char *zParam, int *pnIndex, struct Fts3Index **apIndex ){ int a = sizeof(struct Fts3Index); return 0; }
The text was updated successfully, but these errors were encountered:
@5c4lar see #78
Sorry, something went wrong.
@giulianobelinassi It works :)
Successfully merging a pull request may close this issue.
minimal example to reproduce this:
The dumped intermediate pass:
The text was updated successfully, but these errors were encountered: