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

Replace nonstd::optional by C++17 std::optional #8034

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

tautschnig
Copy link
Collaborator

Removes third-party code that is no longer necessary now that we use C++ 17 as build standard. Future uses of optionalt should instead use std::optional directly.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ee33bc8) 79.09% compared to head (68633ab) 79.06%.

❗ Current head 68633ab differs from pull request most recent head 633010a. Consider uploading reports for the commit 633010a to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8034      +/-   ##
===========================================
- Coverage    79.09%   79.06%   -0.03%     
===========================================
  Files         1699     1697       -2     
  Lines       196503   196364     -139     
===========================================
- Hits        155419   155261     -158     
- Misses       41084    41103      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@esteffin esteffin left a comment

Choose a reason for hiding this comment

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

Looks good except the failure on ubuntu 22.04 and gcc 13 and marking the legacy optionalt as deprecated

@tautschnig tautschnig force-pushed the cleanup/optionalt branch 3 times, most recently from b2e22e2 to 68633ab Compare November 17, 2023 15:54
Removes third-party code that is no longer necessary now that we use C++
17 as build standard. Future uses of optionalt should instead use
std::optional directly.
Copy link
Collaborator

@feliperodri feliperodri left a comment

Choose a reason for hiding this comment

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

LGTM.

@thomasspriggs thomasspriggs merged commit 9795ca6 into diffblue:develop Nov 29, 2023
@tautschnig tautschnig deleted the cleanup/optionalt branch November 29, 2023 14:50
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.

6 participants