Skip to content

initialisation of _Complex with an initializer list #8265

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
Apr 29, 2024

Conversation

kroening
Copy link
Member

Both gcc and clang allow the initialisation of C99 _Complex scalars with an initializer list of length two.

  • 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.
  • 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.

Both gcc and clang allow the initialisation of C99 _Complex scalars with an
initializer list of length two.
Copy link

codecov bot commented Apr 27, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 77.94%. Comparing base (e6e665f) to head (0c1c1b3).

Files Patch % Lines
src/ansi-c/c_typecheck_initializer.cpp 86.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8265      +/-   ##
===========================================
- Coverage    77.95%   77.94%   -0.01%     
===========================================
  Files         1720     1720              
  Lines       189015   189030      +15     
  Branches     18402    18393       -9     
===========================================
- Hits        147346   147345       -1     
- Misses       41669    41685      +16     

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

@tautschnig tautschnig merged commit 046e63e into develop Apr 29, 2024
40 of 41 checks passed
@tautschnig tautschnig deleted the complex_initialization1 branch April 29, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants