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

Cleanup slice2cpp metadata #1867

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Conversation

externl
Copy link
Member

@externl externl commented Feb 27, 2024

This PR is the first step in cleaning up the leftover C++98 code in the slice2cpp compiler. Its primary goal is removal of the cpp98 metadata from the compiler as well as the Ice Slice files and tests.

  • Remove cpp::comparable, cpp::scoped, cpp::class, cpp:range.
  • Remove cpp11:: and cpp98:: top level metadata and issue a warning.

See #1807

@@ -2311,7 +2038,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
//
// Generate a read method if there are more than one ret/out parameter. If there's
// only one, we rely on the default read method from LambdaOutgoing
// except if the unique ret/out is optional or is an array/range.
// except if the unique ret/out is optional or is an array.
Copy link
Member

Choose a reason for hiding this comment

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

This comment is actually not correct. The array metadata doesn't affect the "promise" mapping.

@externl externl merged commit e96cce8 into zeroc-ice:main Feb 27, 2024
23 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
…/ice#1867)

- Remove cpp::comparable, cpp::scoped, cpp::class, cpp:range.
- Remove cpp11:: and cpp98:: top level metadata and issue a warning.
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.

3 participants