llvm/flang/lib/semantics
Tim Keith fdba48a74c [flang] Don't add inherited procedures to generic binding
In this example:
```
  type t1
  contains
    procedure, nopass :: s1
    generic :: foo => s1
  end type
  type, extends(t1) :: t2
  contains
    procedure, nopass :: s2
    generic :: foo => s2
  end type
```

The GenericBindingDetails for foo in t2 include both s1 and s2 as
specific procs. There is no way to distinguish between the binding in
the current type and the binding that was inherited. In particular,
the .mod file will have a binding for s1 in t2, so it won't match the
original source (for exampke, see the old version of modfile14.f90).

Original-commit: flang-compiler/f18@4e2c6be5cb
Reviewed-on: https://github.com/flang-compiler/f18/pull/368
Tree-same-pre-rewrite: false
2019-03-29 09:07:27 -07:00
..
assignment.cc [flang] Fix typo 2019-04-01 16:23:33 -07:00
assignment.h [flang] Remove OwningPointer, use unique_ptr better instead. 2019-03-20 11:38:45 -07: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] Simplify Semantics::Perform 2019-03-06 17:07:25 -08:00
canonicalize-do.h [flang] Simplify Semantics::Perform 2019-03-06 17:07:25 -08:00
check-arithmeticif.cc [flang] Removed unused #include files from check-computed-goto.cc. 2019-03-27 20:46:51 -07:00
check-arithmeticif.h [flang] Inline the constructors for IF semantics checkers. 2019-03-26 20:48:51 -07:00
check-computed-goto.cc [flang] Removed unused #include files from check-computed-goto.cc. 2019-03-27 20:46:51 -07:00
check-computed-goto.h [flang] Implement semantics for computed GOTO. Note that a PGI extension 2019-03-27 15:44:17 -07:00
check-do-concurrent.cc [flang] Remove the IF specific context classes; in these cases they 2019-03-26 18:03:33 -07:00
check-do-concurrent.h [flang] Remove the IF specific context classes; in these cases they 2019-03-26 18:03:33 -07:00
check-if-construct.cc [flang] Removed unused #include files from check-computed-goto.cc. 2019-03-27 20:46:51 -07:00
check-if-construct.h [flang] Inline the constructors for IF semantics checkers. 2019-03-26 20:48:51 -07:00
check-if-stmt.cc [flang] Use source location in IF statement checks. 2019-04-01 16:23:34 -07:00
check-if-stmt.h [flang] Inline the constructors for IF semantics checkers. 2019-03-26 20:48:51 -07:00
CMakeLists.txt [flang] Add CMake rules to install static and shared libraries in 2019-03-28 09:55:56 -07:00
expression.cc [flang] Pass tests 2019-04-01 12:30:08 -07:00
expression.h [flang] replace the stubs for translating terminal symbols to expressions; start pushing Value type into FIR; cleanup terminator succ_blocks; remove parser element from disassociate; run clang-format; etc. 2019-03-15 10:03:06 -07:00
mod-file.cc [flang] Revert to AsFortran in module file output. 2019-04-01 15:02:23 -07:00
mod-file.h [flang] Simplify Semantics::Perform 2019-03-06 17:07:25 -08:00
resolve-labels.cc [flang] When computing the stack of scopes, a label on the first statement 2019-03-22 19:29:00 -07: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-utils.cc [flang] Name resolution for defined operators 2019-03-18 11:48:02 -07:00
resolve-names-utils.h [flang] Fix warning when compiling with clang 2019-03-19 13:44:56 -07:00
resolve-names.cc [flang] Don't add inherited procedures to generic binding 2019-03-29 09:07:27 -07:00
resolve-names.h [flang] Simplify Semantics::Perform 2019-03-06 17:07:25 -08:00
rewrite-parse-tree.cc [flang] Resolve misparse of structure constructor as function reference. 2019-03-09 10:25:06 -08:00
rewrite-parse-tree.h [flang] Simplify Semantics::Perform 2019-03-06 17:07:25 -08:00
scope.cc [flang] Type checking on values in structure components 2019-03-04 16:30:22 -08:00
scope.h [flang] add structconst04.f90 test and fixes to pass it 2019-03-09 10:25:07 -08:00
semantics.cc [flang] Implement semantics for computed GOTO. Note that a PGI extension 2019-03-27 15:44:17 -07:00
semantics.h [flang] Remove the IF specific context classes; in these cases they 2019-03-26 18:03:33 -07:00
symbol.cc [flang] Move some AsFortran() implementations into new formatting.cc; use precedence for parentheses 2019-04-01 10:58:55 -07:00
symbol.h [flang] Name resolution for defined operators 2019-03-18 11:48:02 -07:00
tools.cc [flang] Remove the IF specific context classes; in these cases they 2019-03-26 18:03:33 -07:00
tools.h [flang] Implement semantic checks for if statements, if constructs and 2019-03-26 00:43:08 -07:00
type.cc [flang] Move some AsFortran() implementations into new formatting.cc; use precedence for parentheses 2019-04-01 10:58:55 -07:00
type.h [flang] Type checking on values in structure components 2019-03-04 16:30:22 -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