Skip to content

Commit

Permalink
#2271 updates for review
Browse files Browse the repository at this point in the history
  • Loading branch information
arporter committed Jan 22, 2025
1 parent d28c8eb commit 91e7ec2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/psyclone/core/variables_access_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ class VariablesAccessInfo(dict):
:param options: a dictionary with options to influence which variable
accesses are to be collected.
:type options: Dict[str, Any]
:param Any options["COLLECT-ARRAY-SHAPE-READS"]: if this option is set
to a True value, arrays used as first parameter to the PSyIR query
operators lbound, ubound, or size will be reported as 'read'.
Otherwise, these accesses will be ignored.
:param Any options["USE-ORIGINAL-NAMES"]: if this option is set to a
True value, an imported symbol that is renamed (``use mod, a=>b``)
will be reported using the original name (``b`` in the example).
Expand Down
3 changes: 3 additions & 0 deletions src/psyclone/psyir/nodes/codeblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ def get_symbol_names(self) -> List[str]:
variable/routine as still being an intrinsic call and, as such, it will
be omitted from the names returned by this method.
TODO #2863 - these limitations (blanket use of READWRITE and the
ignoring of Fortran intrinsics) need to be re-visited.
:returns: the symbol names used inside the CodeBock.
'''
parse_tree = self.get_ast_nodes
Expand Down

0 comments on commit 91e7ec2

Please sign in to comment.