[all-commits] [llvm/llvm-project] 19b41f: [flang] Complete RESULT() name constraint checking...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu May 9 11:31:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19b41f40a4b93a6243c816b80b6e664a4418f79f
https://github.com/llvm/llvm-project/commit/19b41f40a4b93a6243c816b80b6e664a4418f79f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/entry01.f90
Log Message:
-----------
[flang] Complete RESULT() name constraint checking (#91476)
There are two constraints in the language that prohibit the use of an
ENTRY name being used as the RESULT() variable of the function or
another ENTRY name in the same function's scope; neither can the name of
the function be used as the RESULT() of an ENTRY.
Move most of the existing partial enforcement of these constraints from
name resolution into declaration checking, complete it, and add more
cases to the tests.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list