llvm/flang
Tim Keith 7e34313ff7 [flang] Add statement functions to symbol table
SubprogramDetails: Store dummy args and result as symbols, not names.

Symbol: Save list of occurrences (i.e. SourceNames that map to the same
symbol). This is needed to map Names in the parse tree back to symbols,
and will probably be useful when reporting errors.
Improve dumping of symbols.

resolve-names.cc: Recognize statement functions. They are treated like
function subprograms but the result type and type of dummy arguments come
from the enclosing scope. The implicit rules from the enclosing scope need
to be copied in.

Original-commit: flang-compiler/f18@44e4fb4b6c
Reviewed-on: https://github.com/flang-compiler/f18/pull/58
Tree-same-pre-rewrite: false
2018-04-17 14:16:42 -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] Add statement functions to symbol table 2018-04-17 14:16:42 -07:00
test/semantics [flang] Resolve array specifications of entities. 2018-04-12 12:59:42 -07:00
tools [flang] Add -fdebug-dump-parse-tree and -fdebug-resolve-names 2018-04-12 20:01:40 -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