llvm/flang/test/semantics
Tim Keith 0c575ed548 [flang] Implement writing of .mod files.
Module file writing is implemented in mod-file.cc. They need to be
written after all semantic checking. Until then, for testing, write
them out whenever names are resolved.

There is a header comment in the .mod files but it is mostly a
placeholder until we can read them in and do something with it.

Rename `Symbol::details<D>` to `Symbol::get<D>`. This asserts that the
details of the symbol match D and returns that type. But we need a way
to access the details as a variant as well (not just one of its types).
`details()` is the best name for that, especially as we already have
`set_details()`. Renaming the old `details` to `get` also better matches
`has` which is used to check which variant is present.

Original-commit: flang-compiler/f18@8d14be1a16
Reviewed-on: https://github.com/flang-compiler/f18/pull/126
Tree-same-pre-rewrite: false
2018-07-16 16:23:18 -07:00
..
CMakeLists.txt [flang] Support intent-stmt and resolve subprogram prefixes and suffixes. 2018-07-11 17:45:13 -07:00
implicit01.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
implicit02.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
implicit03.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
implicit04.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
implicit05.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
implicit06.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
implicit07.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve01.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve02.f90 [flang] Support interface blocks. 2018-05-14 13:53:02 -07:00
resolve03.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve04.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve05.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve06.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve07.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve08.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve09.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve10.f90 [flang] Support for USE statements. 2018-05-03 15:57:56 -07:00
resolve11.f90 [flang] Add copyright notices. 2018-05-01 12:50:34 -07:00
resolve12.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve13.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve14.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve15.f90 [flang] Add name resolution tests 2018-06-15 14:54:34 -07:00
resolve16.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve17.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve18.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve19.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve20.f90 [flang] Process procedure declarations and derived types. 2018-06-05 12:18:35 -07:00
resolve21.f90 [flang] Name resolution for derived types. 2018-06-22 08:21:19 -07:00
resolve22.f90 [flang] Name resolution for derived types. 2018-06-22 08:21:19 -07:00
resolve23.f90 [flang] Name resolution for derived types. 2018-06-22 08:21:19 -07:00
resolve24.f90 [flang] Add missing copyright. 2018-07-05 10:36:18 -07:00
symbol01.f90 [flang] Implement writing of .mod files. 2018-07-16 16:23:18 -07:00
test_errors.sh [flang] Support intent-stmt and resolve subprogram prefixes and suffixes. 2018-07-11 17:45:13 -07:00
test_symbols.sh [flang] Support intent-stmt and resolve subprogram prefixes and suffixes. 2018-07-11 17:45:13 -07:00