Skip to content

Generate helper class for structs that have more than 22 fields #122

New issue

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

Merged
merged 3 commits into from
Jul 17, 2018

Conversation

kornilova203
Copy link
Member

@kornilova203 kornilova203 commented Jul 13, 2018

This approach can also be used for packed structs.

TODO:

  • add setters
  • add tests

@kornilova203 kornilova203 force-pushed the helpers-for-big-structs branch from 01ef112 to 7dd2b5d Compare July 13, 2018 16:01
std::vector<std::shared_ptr<Field>> fields;
const clang::ASTRecordLayout &recordLayout =
astContext->getASTRecordLayout(record);
Copy link
Member

Choose a reason for hiding this comment

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

❤️ really cool idea.

Copy link
Member Author

Choose a reason for hiding this comment

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

😄

@kornilova203 kornilova203 force-pushed the helpers-for-big-structs branch from 571f896 to 6adc9cf Compare July 14, 2018 10:07
@kornilova203 kornilova203 changed the base branch from master to 0.3 July 16, 2018 09:10
@kornilova203 kornilova203 force-pushed the helpers-for-big-structs branch from 6adc9cf to dd85eed Compare July 16, 2018 13:36
@kornilova203 kornilova203 merged commit 100cf81 into 0.3 Jul 17, 2018
@kornilova203 kornilova203 deleted the helpers-for-big-structs branch July 17, 2018 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants