Skip to content

index_exprt enforces array or vector type #7018

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
Jul 20, 2022
Merged

Conversation

kroening
Copy link
Member

The constructors of index_exprt now require that the array operand either
has array or vector type.

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

The constructors of index_exprt now require that the array operand either
has array or vector type.
@codecov
Copy link

codecov bot commented Jul 20, 2022

Codecov Report

Merging #7018 (d5462fb) into develop (de250f9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #7018   +/-   ##
========================================
  Coverage    77.87%   77.88%           
========================================
  Files         1569     1569           
  Lines       180903   180891   -12     
========================================
- Hits        140882   140878    -4     
+ Misses       40021    40013    -8     
Impacted Files Coverage Δ
src/ansi-c/expr2c_class.h 100.00% <ø> (ø)
src/goto-instrument/value_set_fi_fp_removal.cpp 100.00% <ø> (ø)
src/goto-programs/restrict_function_pointers.cpp 80.67% <ø> (ø)
jbmc/src/jdiff/jdiff_parse_options.cpp 66.31% <100.00%> (-0.36%) ⬇️
src/ansi-c/expr2c.cpp 67.35% <100.00%> (+<0.01%) ⬆️
.../goto-instrument/goto_instrument_parse_options.cpp 70.86% <100.00%> (-0.07%) ⬇️
src/goto-programs/process_goto_program.cpp 100.00% <100.00%> (ø)
src/goto-programs/remove_function_pointers.cpp 94.33% <100.00%> (+1.54%) ⬆️
src/util/std_expr.h 93.00% <100.00%> (+0.02%) ⬆️
unit/solvers/smt2_incremental/object_tracking.cpp 100.00% <100.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c69aa1...d5462fb. Read the comment docs.

@kroening kroening marked this pull request as ready for review July 20, 2022 17:00
@kroening kroening merged commit b4a2ab0 into develop Jul 20, 2022
@kroening kroening deleted the index_array_type branch July 20, 2022 17:00
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