llvm/flang/lib/semantics
Tim Keith fe588aff56 [flang] Fix bug handling function prefix type
This showed up in procinterface01. A function can have more than one
PrefixSpec (e.g. `real elemental f()`). We need to ignore that ones
that aren't types.

Also, process the type after the ImplicitPart rather than after the
SpecificationPart. The type of the function result variable could
be accessed between those places.

Original-commit: flang-compiler/f18@df85eedb92
Reviewed-on: https://github.com/flang-compiler/f18/pull/305
2019-02-28 10:38:17 -08:00
..
assignment.cc [flang] basic skeleton of assignment analyzer 2019-01-17 10:41:08 -08:00
assignment.h [flang] basic skeleton of assignment analyzer 2019-01-17 10:41:08 -08:00
attr.cc [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
attr.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
canonicalize-do.cc [flang] Change formatting of common::visitors{} 2018-11-29 09:27:34 -08:00
canonicalize-do.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
check-do-concurrent.cc [flang] Refactoring: improve some names 2018-12-17 12:41:43 -08:00
check-do-concurrent.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
CMakeLists.txt [flang] Remove SHARED from add_library(), use cmake command line option instead 2019-01-22 16:31:20 -08:00
dump-parse-tree.h [flang] basic skeleton of assignment analyzer 2019-01-17 10:41:08 -08:00
expression.cc [flang] Clean up DynamicType, link it to symbol table character length 2019-02-26 16:21:28 -08:00
expression.h [flang] checkpoint, much code moved out of name resolution 2019-02-15 12:28:09 -08:00
mod-file.cc [flang] Fix .mod file for symbols with same name as generic 2019-02-28 10:38:17 -08:00
mod-file.h [flang] Fix .mod file for symbols with same name as generic 2019-02-28 10:38:17 -08:00
resolve-labels.cc [flang] Fix for both issues 274 and 278 2019-02-08 10:53:18 -08:00
resolve-labels.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
resolve-names.cc [flang] Fix bug handling function prefix type 2019-02-28 10:38:17 -08:00
resolve-names.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
rewrite-parse-tree.cc [flang] More work on COMMON blocks 2019-02-21 08:48:20 -08:00
rewrite-parse-tree.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
scope.cc [flang] Fix bug with host-association in module procedure interface body 2019-02-28 10:38:17 -08:00
scope.h [flang] More work on COMMON blocks 2019-02-21 08:48:20 -08:00
semantics.cc [flang] More work on COMMON blocks 2019-02-21 08:48:20 -08:00
semantics.h [flang] Fix CHECK() on wa22 by implementing PGI language extension 2019-02-15 12:29:10 -08:00
symbol.cc [flang] Handle SAVE attribute and statement 2019-02-21 08:59:38 -08:00
symbol.h [flang] Fix .mod file for symbols with same name as generic 2019-02-28 10:38:17 -08:00
type.cc [flang] begin work on structure constructors 2019-02-15 12:22:02 -08:00
type.h [flang] checkpoint 2019-02-26 16:19:36 -08:00
unparse-with-symbols.cc [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
unparse-with-symbols.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00