Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Fix doc comment missing on struct/union array fields, update test, ve… #593

Merged
merged 5 commits into from
Jul 24, 2023

Conversation

mannprerak2
Copy link
Contributor

if (clang.clang_isFunctionTypeVariadic(cursor.type()) == 1) {
if (config.varArgFunctions.containsKey(funcName)) {
if (config.varArgFunctions.containsKey(funcName)) {
if (clang.clang_isFunctionTypeVariadic(cursor.type()) == 1) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just discovered this by accident when parsing -

extern void abcd();
[WARNING]: Skipping variadic-argument config for function abcd since its not variadic.

This didn't affect the flow, but generated a misleading log for every variadic function there would be in the source code

Copy link
Contributor

@dcharkes dcharkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mannprerak2 !

test/header_parser_tests/comment_markup.h Outdated Show resolved Hide resolved
@dcharkes dcharkes merged commit af6d72c into dart-archive:main Jul 24, 2023
6 checks passed
@mannprerak2 mannprerak2 deleted the fix_array_member_comment branch July 24, 2023 19:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Comments are not extracted into generated binding for C array
2 participants