Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Combine GenericDetails and GenericBindingDetails
`GenericDetails` and `GenericBindingDetails` were almost identical: the former has optional data members to handle the case when a specific procedure or derived type has the same name as the generic symbol. Most places they are handled the same way so it simplifies things to have only one type. In the case where we want to know if it is a generic binding (e.g. in `mod-file.cc`) we can check the kind of scope that owns the symbol. Save name from the generic binding for better location of error messages. Original-commit: flang-compiler/f18@f65a9ed Reviewed-on: flang-compiler/f18#841 Tree-same-pre-rewrite: false
- Loading branch information
Showing
5 changed files
with
57 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters