[all-commits] [llvm/llvm-project] a4745f: [flang] Detect more misparsed statement functions ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Nov 30 13:35:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4745ff99bec927efdc726fa902e30d589e70761
https://github.com/llvm/llvm-project/commit/a4745ff99bec927efdc726fa902e30d589e70761
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2023-11-30 (Thu, 30 Nov 2023)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/stmt-func01.f90
M flang/test/Semantics/stmt-func02.f90
Log Message:
-----------
[flang] Detect more misparsed statement functions (same name as funct… (#73852)
…ion result)
A function can't return a statement function, so an apparent attempt to
define a statement function with the same name as the function's result
must be a misparsed assignment statement.
More information about the All-commits
mailing list