Skip to content

Property description now taken from front-end #571

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 1 commit into from
Jun 24, 2024
Merged

Conversation

kroening
Copy link
Member

This moves the generation of the property description into the front-end, which will enable doing lowering or model instrumentation in the front-end while displaying the property as given in the source language.

@kroening kroening force-pushed the property-description branch 2 times, most recently from ed250d3 to d3d05aa Compare June 22, 2024 18:24
@kroening kroening marked this pull request as ready for review June 22, 2024 18:25
xmlt xml("property");
xml.set_attribute("name", id2string(p.name));

xml.new_element("number").data = std::to_string(p_nr); // will go away
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just curious: what will go away and when?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's just a moved comment, not new. You can't use the number for anything (we use the property identifier instead), so it's really redundant.

@kroening kroening force-pushed the property-description branch from d3d05aa to 3baa85e Compare June 24, 2024 15:47
This moves the generation of the property description into the front-end,
which will enable doing lowering or model instrumentation in the front-end
while displaying the property as given in the source language.
@kroening kroening force-pushed the property-description branch from 3baa85e to 00a34b4 Compare June 24, 2024 15:51
@kroening kroening merged commit feba5dc into main Jun 24, 2024
6 checks passed
@kroening kroening deleted the property-description branch June 24, 2024 16:25
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