Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Added get_callee() which determines the right routine of the return values of get_callees() #2775
base: master
Are you sure you want to change the base?
Added get_callee() which determines the right routine of the return values of get_callees() #2775
Changes from 5 commits
5591c05
0926461
b9b24a3
12a1aa7
f282827
1db15dd
5c3ce36
fa5b311
e5cf0db
c7c8890
438e9e3
0c5ba99
acf8700
51306e3
66a89ad
2ce616e
0d1e980
78fcf2b
4b37135
2ef7e55
e4ac880
03d3fdd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 think we can do a bit better here with not much additional work. The PSyIR type system has the concept of a
partial_datatype
which we can use to capture all the parts of an UnsupportedFortranType that the PSyIR does support. It should be a small change to the frontend (fparser2.py
) to ensure this is populated for OPTIONAL arguments. I can take a look at this if you like?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.
Sure, if you would like to do this, I'd make the other changes again in call.py.
Check warning on line 767 in src/psyclone/psyir/nodes/call.py
Codecov / codecov/patch
src/psyclone/psyir/nodes/call.py#L767
Check warning on line 774 in src/psyclone/psyir/nodes/call.py
Codecov / codecov/patch
src/psyclone/psyir/nodes/call.py#L774