Skip to content

C++ front-end: support constexpr - #8386

Open
tautschnig wants to merge 1 commit into
diffblue:developfrom
tautschnig:features/cpp-constexpr
Open

tautschnig wants to merge 1 commit into
diffblue:developfrom
tautschnig:features/cpp-constexpr

Conversation

@tautschnig

Copy link
Copy Markdown
Collaborator

Mark constexpr symbols as macros and use direct replacement (non-function symbols) or in-place evaluation (uses of constexpr function symbols).

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

@codecov

codecov Bot commented Jul 17, 2024 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.30769% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.40%. Comparing base (2e6200a) to head (d17539f).
⚠️ Report is 363 commits behind head on develop.

Files with missing lines Patch % Lines
src/cpp/cpp_typecheck_expr.cpp 94.59% 2 Missing ⚠️
src/cpp/cpp_storage_spec.cpp 50.00% 1 Missing ⚠️
src/cpp/cpp_storage_spec.h 88.88% 1 Missing ⚠️
src/cpp/parse.cpp 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8386   +/-   ##
========================================
  Coverage    80.39%   80.40%           
========================================
  Files         1688     1688           
  Lines       207403   207462   +59     
  Branches        73       73           
========================================
+ Hits        166749   166804   +55     
- Misses       40654    40658    +4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Mark `constexpr` symbols as macros and use direct replacement
(non-function symbols) or in-place evaluation (uses of `constexpr`
function symbols).
@tautschnig
tautschnig force-pushed the features/cpp-constexpr branch from 514db34 to d17539f Compare July 28, 2025 11:34

This branch has not been deployed

No deployments
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