Skip to content

Conversation

@tautschnig
Copy link
Collaborator

No description provided.

@tautschnig tautschnig requested a review from kroening March 30, 2017 11:30
@tautschnig
Copy link
Collaborator Author

None of the ansi-c/gcc_builtin_headers_* is aligned with the coding standard - I'd thus hope the linter failure can be ignored.

Copy link
Collaborator

Choose a reason for hiding this comment

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

What is that needed for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's quite a while since I built that patch, but I suspect that is necessary to make some of the C++ regression tests pass. Also it is the same that the C front-end does.

@tautschnig
Copy link
Collaborator Author

This shouldn't get merged before #876 is merged.

1 similar comment
@tautschnig
Copy link
Collaborator Author

This shouldn't get merged before #876 is merged.

@kroening
Copy link
Collaborator

Needs a rebase, but is then ready to go

@tautschnig
Copy link
Collaborator Author

@kroening Thanks, rebase done.

constructors/destructors are a GCC extension, and their return type must be
void as checked earlier. As the type is then replaced by
ID_constructor/ID_destructor, and checks on the return type must consider this
case.
We cannot arbitrarily convert strings to unicode representation as this would
affect their size. Instead, only the unicode portion of a non-wide string must
be encoded. As part of this work the code duplication
unescape_string/unescape_wide_string is resolved. A new regression test confirms
that the previous implementation was broken (and is now fixed).
@kroening kroening merged commit cc22448 into diffblue:master Jun 1, 2017
@tautschnig tautschnig deleted the c-linking branch June 1, 2017 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants