llvm/flang
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
..
documentation [flang] Document support for CONVERT= extension. 2018-04-09 15:39:39 -07:00
include/flang [flang] Remove files in include/flang/Sema/ 2018-03-26 16:35:34 +02:00
lib [flang] Rewrite function calls to array element references 2018-04-23 12:46:56 -07:00
test/semantics [flang] Rewrite function calls to array element references 2018-04-23 12:46:56 -07:00
tools [flang] Complete parser instrumentation and caching of failures. 2018-04-19 17:02:12 -07:00
.clang-format [flang] Improve include file sorting. 2018-04-12 12:23:20 -07:00
.gitignore [flang] Add MinSizeRel to .gitignore. 2018-03-29 11:19:37 -07:00
CMakeLists.txt [flang] Add simple recursive CMake directory structure 2018-02-19 14:28:12 +01:00
Makefile [flang] Clean up Makefile, add reformat target. 2018-02-07 16:27:36 -08:00
README.md [flang] Revert "Schauveau cmake" 2018-02-14 09:06:47 -08:00

f18