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

Use LLVM's YAML::IO library to read binding configuration #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonas
Copy link
Member

@jonas jonas commented Aug 28, 2018

Also improve the documentation of the binding configuration file with
testable examples.

Depends on #182

# Using Generated Bindings
# Using Bindings

The following will explain
Copy link
Member Author

Choose a reason for hiding this comment

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

Unfinished sentence

@jonas
Copy link
Member Author

jonas commented Aug 28, 2018

I will try to extract the documentation changed so those improvements can make it into 0.3.1

static void mapping(llvm::yaml::IO &io, HeaderEntry &headerEntry) {
io.mapRequired("path", headerEntry.path);
io.mapRequired("object", headerEntry.object);
io.mapOptional("names", headerEntry.names);
Copy link
Member

Choose a reason for hiding this comment

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

👍

@jonas jonas force-pushed the yaml-config branch 2 times, most recently from 862b333 to 656aee0 Compare September 3, 2018 20:57
Also improve the documentation of the binding configuration file with
testable examples.
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.

None yet

2 participants