Skip to content

Allow ref-qualified interface members in conformance and overload_spec - #524

Draft
jbcoe wants to merge 1 commit into
mainfrom
push-toqlyyxqwyul
Draft

jbcoe wants to merge 1 commit into
mainfrom
push-toqlyyxqwyul

Conversation

@jbcoe

@jbcoe jbcoe commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Staging PR for ref-qualified interface member functions so thunk and vtable
support can land in small, independent follow-up PRs on top of main":

  • Remove the ref-qualified member rejection in xyz/detail/conformance.hh and
    the corresponding rejection tests in xyz/tests/conformance_tests.cc.
  • Add the four ref-qualified enumerators to member_qualifiers and classify
    them in member_qualifiers_of (xyz/detail/overload_spec.hh).
  • Add //:protocol_feature_test (xyz/tests/feature_tests.cc, tagged manual)
    as a fast-rebuilding TDD target. It is intentionally red until the follow-up
    thunk and vtable PRs land and is not run by default builds or CI."

Preparatory changes for supporting ref-qualified interface member
functions:
- Remove the ref-qualified member rejection in conformance.hh.
- Add lvalue/rvalue (and const variants) to member_qualifiers in
  overload_spec.hh and classify them in member_qualifiers_of.
- Remove the conformance tests asserting ref-qualified rejection.
- Add manual protocol_feature_test (xyz/tests/feature_tests.cc) exercising
  ref-qualified member calls (requires thunk and vtable support in a
  follow-up before enabling).
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.68%. Comparing base (1fc18e9) to head (edf9fda).

Files with missing lines Patch % Lines
xyz/detail/overload_spec.hh 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #524      +/-   ##
==========================================
- Coverage   95.90%   95.68%   -0.22%     
==========================================
  Files          11       11              
  Lines         927      928       +1     
  Branches       30       30              
==========================================
- Hits          889      888       -1     
- Misses         28       30       +2     
  Partials       10       10              
Flag Coverage Δ
consteval 88.93% <0.00%> (-0.73%) ⬇️
runtime 98.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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.

1 participant