Skip to content

Conversation

@Vipul-Cariappa
Copy link
Collaborator

Description

Generator operations instead of function calls similar to upstream

Fixes # (issue)

fixes test_cpp11features.py::TestCPP11FEATURES::test11_chrono in cppyy

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Requires documentation updates

Testing

Please describe the test(s) that you added and ran to verify your changes.

Checklist

  • I have read the contribution guide recently

Copy link
Collaborator

@aaronj0 aaronj0 left a comment

Choose a reason for hiding this comment

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

LGTM! This fixes the std::chrono test case and functionally brings the wrapper closer to upstream cppyy. The expression !FD->isOverloadedOperator() || (FD->getOverloadedOperator() == clang::OO_Call) can be stored in a flag to improve readability, feel free to merge once that is addressed (and the bots pass)

@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2025

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2025

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

We should add a relevant test.

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2025

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@codecov
Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.45%. Comparing base (28ba16e) to head (c3e2782).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #571      +/-   ##
==========================================
+ Coverage   76.37%   76.45%   +0.07%     
==========================================
  Files           9        9              
  Lines        3645     3648       +3     
==========================================
+ Hits         2784     2789       +5     
+ Misses        861      859       -2     
Files with missing lines Coverage Δ
lib/Interpreter/CppInterOp.cpp 84.25% <100.00%> (+0.12%) ⬆️
Files with missing lines Coverage Δ
lib/Interpreter/CppInterOp.cpp 84.25% <100.00%> (+0.12%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@aaronj0 aaronj0 left a comment

Choose a reason for hiding this comment

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

LGTM! I believe all comments are addressed

@aaronj0
Copy link
Collaborator

aaronj0 commented May 15, 2025

A reminder to squash into a single commit before merging :)

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

Lgtm. Please use squash on merge.

@Vipul-Cariappa Vipul-Cariappa merged commit 03135b6 into compiler-research:main May 15, 2025
74 checks passed
@Vipul-Cariappa Vipul-Cariappa deleted the dev/chrono branch May 15, 2025 13:18
Vipul-Cariappa added a commit to Vipul-Cariappa/cppyy-compiler-research that referenced this pull request May 16, 2025
Vipul-Cariappa added a commit to Vipul-Cariappa/cppyy-compiler-research that referenced this pull request May 16, 2025
Vipul-Cariappa added a commit to Vipul-Cariappa/cppyy-compiler-research that referenced this pull request May 16, 2025
Vipul-Cariappa added a commit to Vipul-Cariappa/cppyy-compiler-research that referenced this pull request May 16, 2025
Vipul-Cariappa added a commit to compiler-research/cppyy that referenced this pull request May 16, 2025
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.

3 participants