llvm/flang/lib/semantics
Tim Keith edf9eec265 [flang] More miscellaneous name resolution
Resolve the index name in a FORALL, DO, or DO CONCURRENT.

Handle pointer-stmt. Add DeclareUnknownEntity() to declare an entity
that is not yet know to be an object or procedure. This is used in the
EntityDecl and PointerDecl cases.

When an array element assignment is mistakenly parsed as a statement
function, ensure the index names are resolved.

Detect erroneous use-association with local name that matches the name
of the containing subprogram.

Cleanup: Eliminate GetVariableName() and CheckImplicitSymbol() in favor
of using the Resolve* functions consistently. Add ResolveName() to do
what CheckImplicitSymbol() used to do.

Disable warnings about unresolved names for some categories of
constructs that are not yet implemented: common blocks, namelist
statements, etc. These will be turned back on when they are implemented.

Original-commit: flang-compiler/f18@9a41bf37fd
Reviewed-on: https://github.com/flang-compiler/f18/pull/210
2018-10-10 16:20:46 -07:00
..
attr.cc [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
attr.h [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
canonicalize-do.cc [flang] Build the label stack locally and thread the iterators explicitly rather 2018-10-05 13:59:43 -07:00
canonicalize-do.h [flang] Handle review comments 2018-09-21 11:12:02 -07:00
CMakeLists.txt [flang] canonicalize DO constructs 2018-09-20 16:14:58 -07:00
dump-parse-tree.h [flang] work on structure components 2018-09-25 15:23:58 -07:00
expression.cc [flang] typed function references 2018-09-25 15:24:04 -07:00
expression.h [flang] clean up for review 2018-09-12 16:29:20 -07:00
mod-file.cc [flang] Fix problems with extended derived types 2018-09-20 14:08:59 -07:00
mod-file.h [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
resolve-labels.cc [flang] Fix a bug with BLOCK DATA name matching 2018-09-19 15:01:38 -07:00
resolve-labels.h [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
resolve-names.cc [flang] More miscellaneous name resolution 2018-10-10 16:20:46 -07:00
resolve-names.h [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
rewrite-parse-tree.cc [flang] More miscellaneous name resolution 2018-10-10 16:20:46 -07:00
rewrite-parse-tree.h [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
scope.cc [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
scope.h [flang] Add top-level Semantics class 2018-09-14 15:04:50 -07:00
semantics.cc [flang] Handle review comments 2018-09-21 11:12:02 -07:00
semantics.h [flang] Resolve g++ 7.2 build problem 2018-10-01 14:36:31 -07:00
symbol.cc [flang] Check conflicting construct names 2018-10-10 16:05:00 -07:00
symbol.h [flang] Check conflicting construct names 2018-10-10 16:05:00 -07:00
type.cc
type.h
unparse-with-symbols.cc [flang] Fix problems with extended derived types 2018-09-20 14:08:59 -07:00
unparse-with-symbols.h