llvm/flang/lib/semantics
Tim Keith 9764563f4d [flang] Fix bug with use-associated base of component reference
When the base of a component reference (`a` in `a%b`) was use
associated, we were failing to follow it to the real symbol.

Fixes flang-compiler/f18#616.

Original-commit: flang-compiler/f18@95bfac6f65
Reviewed-on: https://github.com/flang-compiler/f18/pull/617
2019-08-02 09:21:34 -07:00
..
assignment.cc [flang] Add a way to check and dereference a pointer 2019-07-29 09:12:52 -07:00
assignment.h [flang] Remove OwningPointer and ForwardReference 2019-05-06 07:51:07 -07:00
attr.cc
attr.h
canonicalize-do.cc [flang] Add fix for issue flang-compiler/f18#517 2019-07-10 08:44:05 -07:00
canonicalize-do.h
check-allocate.cc [flang] Add a way to check and dereference a pointer 2019-07-29 09:12:52 -07:00
check-allocate.h [flang] First batch of semantics checks for allocate 2019-04-23 03:05:56 -07:00
check-arithmeticif.cc [flang] work in progress 2019-05-20 13:37:28 -07:00
check-arithmeticif.h [flang] Cleanup -- Remove unnecessary inline keyword, 2019-04-11 15:20:14 -07:00
check-coarray.cc [flang] work in progress 2019-05-20 13:37:28 -07:00
check-coarray.h [flang] Save and fetch analyzed Expr in Variable 2019-04-18 17:48:55 -07:00
check-deallocate.cc [flang] Move HasError, SetError to SemanticsContext 2019-04-25 14:47:39 -07:00
check-deallocate.h [flang] Cleanup -- Remove unnecessary inline keyword, 2019-04-11 15:20:14 -07:00
check-do.cc [flang] Fixes for DO constraint C1124 2019-06-27 12:33:36 -07:00
check-do.h [flang] Renamed check.*do.*stmt to check.*do to better conform with the grammar. 2019-06-10 14:03:24 -07:00
check-if-stmt.cc [flang] Reactivate tree-driven constraint checking on expressions. 2019-04-15 09:41:41 -07:00
check-if-stmt.h [flang] Cleanup -- Remove unnecessary inline keyword, 2019-04-11 15:20:14 -07:00
check-io.cc [flang] A minimal PRINT Enter function requires a minimal PRINT Leave function. (flang-compiler/f18#543) 2019-07-03 09:59:59 -07:00
check-io.h [flang] A minimal PRINT Enter function requires a minimal PRINT Leave function. (flang-compiler/f18#543) 2019-07-03 09:59:59 -07:00
check-nullify.cc [flang] Move HasError, SetError to SemanticsContext 2019-04-25 14:47:39 -07:00
check-nullify.h [flang] Cleanup -- Remove unnecessary inline keyword, 2019-04-11 15:20:14 -07:00
check-omp-structure.cc [flang] [OpenMP] Add Sections and Single Construct check (flang-compiler/f18#585) 2019-08-01 14:32:33 -07:00
check-omp-structure.h [flang] [OpenMP] Add Sections and Single Construct check (flang-compiler/f18#585) 2019-08-01 14:32:33 -07:00
check-return.cc [flang] Add IsGlobal and IsDerivedType to Scope 2019-07-12 12:17:56 -07:00
check-return.h [flang] Implement semantic checks for return and alt-return. 2019-04-15 10:59:12 -07:00
check-stop.cc [flang] Use SomeExpr rather than GenericExprWrapper in checkers 2019-04-19 08:22:28 -07:00
check-stop.h [flang] Semantics checker for STOP and ERROR STOP statements - post review changes 2019-04-17 14:13:23 -07:00
CMakeLists.txt [flang] OpenMP structural check framework (PARALLEL as example) (flang-compiler/f18#493) 2019-06-25 16:18:51 -07:00
expression.cc [flang] Add a way to check and dereference a pointer 2019-07-29 09:12:52 -07:00
expression.h [flang] Use LOC() in iso_c_binding for C_LOC and C_FUNLOC 2019-07-01 16:54:53 -07:00
mod-file.cc [flang] Fix bug when writing empty generic to .mod file 2019-07-31 16:02:54 -07:00
mod-file.h
program-tree.cc [flang] Move ProgramTree to its own file 2019-05-06 10:12:27 -07:00
program-tree.h [flang] Move ProgramTree to its own file 2019-05-06 10:12:27 -07:00
resolve-labels.cc [flang] Fix issue flang-compiler/f18#515 2019-07-19 07:20:47 -07:00
resolve-labels.h [flang] Add non standard feature for labeled do not ending with END DO or CONTINUE 2019-07-09 11:54:40 -07:00
resolve-names-utils.cc [flang] Add IsGlobal and IsDerivedType to Scope 2019-07-12 12:17:56 -07:00
resolve-names-utils.h [flang] Fix regressions from testing pass 2019-06-28 09:20:55 -07:00
resolve-names.cc [flang] Fix bug with use-associated base of component reference 2019-08-02 09:21:34 -07:00
resolve-names.h
rewrite-parse-tree.cc [flang] Improve handling of generics with same name as type or procedure 2019-07-31 16:02:43 -07:00
rewrite-parse-tree.h
scope.cc [flang] Correct scopes of components and type parameters 2019-08-01 15:04:25 -07:00
scope.h [flang] Correct scopes of components and type parameters 2019-08-01 15:04:25 -07:00
semantics.cc [flang] Support SELECTED_CHAR_KIND("DEFAULT") 2019-07-17 15:58:28 -07:00
semantics.h [flang] Support SELECTED_CHAR_KIND("DEFAULT") 2019-07-17 15:58:28 -07:00
symbol.cc [flang] Fix merging of use associated generics 2019-08-01 13:06:25 -07:00
symbol.h [flang] Fix merging of use associated generics 2019-08-01 13:06:25 -07:00
tools.cc [flang] More changes in response to review comments. 2019-07-25 13:37:11 -07:00
tools.h [flang] More changes in response to review comments. 2019-07-25 13:37:11 -07:00
type.cc [flang] Add IsGlobal and IsDerivedType to Scope 2019-07-12 12:17:56 -07:00
type.h [flang] Fix flang-compiler/f18#571: forward reference to interface 2019-07-16 09:58:53 -07:00
unparse-with-symbols.cc [flang] Add a way to check and dereference a pointer 2019-07-29 09:12:52 -07:00
unparse-with-symbols.h [flang] Tests pass 2019-06-17 16:13:07 -07:00