llvm/flang/lib
Tim Keith 69369e3b52 [flang] Resolve binding names in type-bound generic
Enhance `FindInTypeOrParents()` to also accept a `parser::Name` argument
and to resolve that name when the symbol is found. This causes binding
names in type-bound generic statements to be resolved. Move this process
to the beginning of the handling of such statements so that they are
resolve even if the generic spec is not and we return early.

Also resolve type parameter keywords in derived type specs
(e.g. `k` in `type(k=1) :: x`). That involves collecting and searching
the symbols of the `TypeParamDetails` to match the name with the symbol.

Original-commit: flang-compiler/f18@7387fb436d
Reviewed-on: https://github.com/flang-compiler/f18/pull/281
Tree-same-pre-rewrite: false
2019-02-08 08:57:28 -08:00
..
common [flang] Address review comments, fix some f90_correct failures 2019-01-31 09:59:37 -08:00
evaluate [flang] More value semantics in Constant<> and GetScalarConstantValue 2019-02-01 13:37:49 -08:00
parser [flang] Convert structs to classes, move some defs from variable.h to call.h 2019-01-31 16:04:17 -08:00
semantics [flang] Resolve binding names in type-bound generic 2019-02-08 08:57:28 -08:00
CMakeLists.txt [flang] Rearrange some facilities into a new lib/common. 2018-06-18 11:05:17 -07:00