llvm/flang/lib
Tim Keith 744427238c [flang] Rewrite function calls to array element references
parse-tree.h, parse-tree.cc:
Add FunctionReference::ConvertToArrayElementRef() to convert a function
reference to an array element reference.
Factor out MakeArrayElementRef() to use in ConvertToArrayElementRef()
and also in converting statement functions to array element assignments.

resolve-names.cc:
Recognize references to functions and subroutines and add symbols for them.
Detect declaration conflicts from these and check `IMPLICIT NONE(EXTERNAL)`.

rewrite-parse-tree.cc:
Find function references that need to be converted and rewrite them.

Original-commit: flang-compiler/f18@e5a1e0aaef
Reviewed-on: https://github.com/flang-compiler/f18/pull/65
2018-04-23 12:46:56 -07:00
..
parser [flang] Rewrite function calls to array element references 2018-04-23 12:46:56 -07:00
semantics [flang] Rewrite function calls to array element references 2018-04-23 12:46:56 -07:00
CMakeLists.txt [flang] Merge with current master and move code to lib/semantics/ 2018-03-26 16:35:34 +02:00