-
Notifications
You must be signed in to change notification settings - Fork 31
fix JITcall codegen to handle move semantics #657
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
fix JITcall codegen to handle move semantics #657
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #657 +/- ##
==========================================
+ Coverage 79.25% 79.30% +0.05%
==========================================
Files 9 9
Lines 3866 3876 +10
==========================================
+ Hits 3064 3074 +10
Misses 802 802
🚀 New features to boost your workflow:
|
clang-tidy review says "All clean, LGTM! 👍" |
lib/CppInterOp/CppInterOp.cpp
Outdated
// available, while there is a move constructor. | ||
|
||
// move construction as needed for classes (note that this is implicit) | ||
static bool included_utility = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this would work well when we have a stack of interpreters, that is changing the active interpreter. Perhaps a simple lookup will help, clang::Sema already getStdNamespace
.
b86e4a9
to
62c3217
Compare
clang-tidy review says "All clean, LGTM! 👍" |
62c3217
to
6b52e16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
clang-tidy review says "All clean, LGTM! 👍" |
725bb46
to
67ea645
Compare
clang-tidy review says "All clean, LGTM! 👍" |
This is also managing to fix the failing Emscripten job on main. No idea why. |
Required for std::unique_ptr Taken from Cling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
clang-tidy review says "All clean, LGTM! 👍" |
Description
Required for std::unique_ptr
Taken from Cling
Fixes # (issue)
1 test in cppyy
Type of change
Please tick all options which are relevant.
Testing
Checklist