[all-commits] [llvm/llvm-project] e200b0: [flang] Submodule names can clash only with submod...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Oct 16 14:15:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e200b0e4a7b5447052698397939c80ee3b0ebda9
https://github.com/llvm/llvm-project/commit/e200b0e4a7b5447052698397939c80ee3b0ebda9
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/modproc01.f90
M flang/test/Semantics/modproc02.f90
Log Message:
-----------
[flang] Submodule names can clash only with submodule names (#67361)
Name resolution creates symbols for submodules in their parents' scopes.
This can lead to bogus errors about name clashes between submodule names
and other entities in the parents' scopes.
Create symbols for submodules but do not add them to a scope's
dictionary.
More information about the All-commits
mailing list