Skip to content
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

Refactor FlatC to receive FlatCOptions #7770

Merged
merged 2 commits into from Jan 8, 2023

Conversation

dbaileychess
Copy link
Collaborator

Instead of having the FlatCompile.Compile parse the command line arguments, have it take in a new FlatCOptions option struct that can be parsed/created separately. This helps reduce the size of Compile.

This is part of a general refactoring I am doing of flatc to make it a bit more modern and easier to extend.

@github-actions github-actions bot added c++ codegen Involving generating code from schema labels Jan 8, 2023
@dbaileychess dbaileychess merged commit 641fbe4 into google:master Jan 8, 2023
sunwen18 pushed a commit to sunwen18/flatbuffers that referenced this pull request Jan 9, 2023
* Refactor FlatC to receive `FlatCOptions`

* switch to c++11 unique_ptr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant