-
Couldn't load subscription status.
- Fork 35
using getFirstDecl for TranslationUnitDecl for consistent pointers
#329
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
Conversation
|
ping @vgvassilev @aaronj0 |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
Looks like some test is failing. |
Fixed. 👍🏽 Maybe there are other places where we will need to use |
|
clang-tidy review says "All clean, LGTM! 👍" |
Hopefully not, because this iteration generally is wrong. This need to be lookup-based approach instead of a brute forcing all namespaces and translation units... Please add a giant FIXME describing that. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #329 +/- ##
==========================================
+ Coverage 73.69% 73.71% +0.02%
==========================================
Files 8 8
Lines 3018 3021 +3
==========================================
+ Hits 2224 2227 +3
Misses 794 794
|
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.
clang-tidy made some suggestions
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
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!
|
@Vipul-Cariappa Can you rebase into a single commit? |
f41d709 to
f9ba2ec
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
|
The commit does more than it says? |
refactored `GetEnums` for this change by using `collectAllContexts`
f9ba2ec to
2d2b70c
Compare
The main purpose of the PR is to use Hope the new commit message conveys the same. |
|
clang-tidy review says "All clean, LGTM! 👍" |

Eight previously failing tests pass without any new failing tests in cppyy.

But
EnumReflectionTest.GetEnumsfails from the CppInterOp tests.It looks like
GetEnumscannot resolve anyenums in the global scope.