-
Notifications
You must be signed in to change notification settings - Fork 33
(Closes #2612) add support for length and precision attributes in character type #3377
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
Open
arporter
wants to merge
30
commits into
master
Choose a base branch
from
2612_add_len_to_scalartype
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
ad3bddf
#2612 add length property to ScalarType
arporter 4ddb6b2
Merge branch 'master' into 2612_add_len_to_scalartype
arporter 5bb616c
#2612 add routine to handle char-length specification [skip ci]
arporter 4deeb2b
#2612 WIP fixing tests [skip ci]
arporter e11294e
#2612 fix len and kind handling for characters [skip ci]
arporter a4e1f40
#2612 fix select-type tests [skip ci]
arporter 1532776
#2612 fix more psyir tests [skip ci]
arporter 2fa3db9
Merge branch 'master' into 2612_add_len_to_scalartype
arporter 37fda47
#2612 add support for var*len type declarations [skip ci]
arporter de4404c
Merge branch 'master' into 2612_add_len_to_scalartype
arporter 58b9d0b
#2612 allow for colon/asterisk in entity decln [skip ci]
arporter e7f9cce
#2612 fix tests and linting
arporter e37e4df
#2361 really fix the test
arporter 3409df4
#2612 improve test coverage
arporter bc6dfcf
Merge branch 'master' into 2612_add_len_to_scalartype
arporter 60a92f0
#2612 tidy implementation and improve cov
arporter c76ec8f
#2612 allow for int precision
arporter 43ffeb1
#2612 rm unnecessary refinement to copy
arporter 866ec47
#2612 add comment
arporter 3c4b392
#2612 fix for expressions
arporter c1bbb7f
#2612 add missing copyright/license
arporter a2c4c74
#2612 fix bug in handling of UnsupportedFortranType
arporter 5c368e1
#2612 allow for array of char in acc_kernels_trans
arporter ef200da
#2612 add test for an argument that is an array of char strings
arporter e7d6ce1
#2612 linting
arporter 91996c1
Merge branch 'master' into 2612_add_len_to_scalartype
arporter c0f0221
Merge branch 'master' into 2612_add_len_to_scalartype
arporter b05dbb4
#2612 attempt to fix bug in check for char length
arporter 15b5331
#2612 update dev guide on supported PSyIR types
arporter 5508155
Merge branch 'master' into 2612_add_len_to_scalartype
sergisiso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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 suppose by supported we mean that it produces an ArrayType datasymbol with the initialisation expression being a CodeBlock?
I am ok with it if that's the case, but to be sure they work, can you add an example of each in src/psyclone/tests/psyir/frontend/fparser2_test.py, in test_process_array_declarations or test_declarations_with_initialisations (unless it is already tested somewhere else, but I couldn't find it)