llvm/flang/lib
Tim Keith a0858885c2 [flang] Recognize complex-part-designator
The "%RE" or "%IM" is parsed as a structure-component.
If the base has type COMPLEX and the component name is one
of those, allow it without comment.

Note that the `parser::Name` for these components don't get
symbols filled in, so we still get a warning that they are
unresolved. We have to figure out how to deal with names
like this that we won't have symbols for.

Fixes flang-compiler/f18#188.

Original-commit: flang-compiler/f18@1d4a84fe3c
Reviewed-on: https://github.com/flang-compiler/f18/pull/194
Tree-same-pre-rewrite: false
2018-09-24 07:12:38 -07:00
..
common [flang] Merge with current master, address early review comments. 2018-09-12 16:29:22 -07:00
evaluate [flang] Repair CMakeLists.txt after accidentally clang-formatting it 2018-09-12 16:37:28 -07:00
parser [flang] Resolve recent NAG failures better, more clean-up, ready for merge. 2018-09-13 11:29:10 -07:00
semantics [flang] Recognize complex-part-designator 2018-09-24 07:12:38 -07:00
CMakeLists.txt [flang] Rearrange some facilities into a new lib/common. 2018-06-18 11:05:17 -07:00