Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Change Scope::name() to Scope::GetName()
Address comments. Not all scopes are related to a name. This change makes this more visible to compiler programers by changing `scope:name()` into `Scope::GetName()` that returns an optional `SourceName` instead of always returning a `SourceName` and dying when it cannot. Original-commit: flang-compiler/f18@0addb79 Reviewed-on: flang-compiler/f18#634 Tree-same-pre-rewrite: false
- Loading branch information
1 parent
281d41c
commit 52e72ab
Showing
6 changed files
with
21 additions
and
15 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
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