Skip to content

Cppyy bug #401

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 6 commits into from
Dec 19, 2024
Merged

Cppyy bug #401

merged 6 commits into from
Dec 19, 2024

Conversation

faze-geek
Copy link
Contributor

@faze-geek faze-geek commented Dec 19, 2024

Description

Please include a summary of changes, motivation and context for this PR.

Fixes #365

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Requires documentation updates

Checklist

  • I have read the contribution guide recently

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

There were too many comments to post at once. Showing the first 10 out of 19. Check the log or trigger a new build to see more.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

There were too many comments to post at once. Showing the first 10 out of 14. Check the log or trigger a new build to see more.

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.87%. Comparing base (30aa130) to head (57264fc).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #401      +/-   ##
==========================================
+ Coverage   70.84%   70.87%   +0.03%     
==========================================
  Files           9        9              
  Lines        3529     3533       +4     
==========================================
+ Hits         2500     2504       +4     
  Misses       1029     1029              
Files with missing lines Coverage Δ
lib/Interpreter/CppInterOp.cpp 80.20% <100.00%> (+0.04%) ⬆️
Files with missing lines Coverage Δ
lib/Interpreter/CppInterOp.cpp 80.20% <100.00%> (+0.04%) ⬆️

@faze-geek
Copy link
Contributor Author

@Vipul-Cariappa All tests pass locally, though I can see a bunch of clang - tidy suggestions. Can you have a look ?

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Copy link
Collaborator

@Vipul-Cariappa Vipul-Cariappa left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Enables test03_stllike_preinc at cppyy.

We should consider "squash and merge" and update the comment message to something more meaningful.
I might be a contributor for the poor initial commit message.

@vgvassilev if you can also approve this. I will go ahead and merge.

{
auto D = (Decl *) var;
TCppType_t GetVariableType(TCppScope_t var) {
auto D = (Decl*)var;
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should be able to satisfy clang-tidy with this

Suggested change
auto D = (Decl*)var;
auto *D = static_cast<Decl*>(var);

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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 if the bots are happy.

@Vipul-Cariappa Vipul-Cariappa merged commit 6661aae into compiler-research:main Dec 19, 2024
47 checks passed
Vipul-Cariappa added a commit to Vipul-Cariappa/cppyy-compiler-research that referenced this pull request Jan 6, 2025
Vipul-Cariappa added a commit to compiler-research/cppyy that referenced this pull request Jan 6, 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